A collection of items organized in an ordinal fashion. Provides access and manipulation methods based on index.
An IList may be a view onto data that has been retrieved from a remote location. When writing for a collection that may be remote, it is important to handle the case where data may not yet be available, which is indicated by the ItemPendingError.
The ICollectionView is an alternative to the IList.
像是ArrayCollection , ArrayList都有實現IList的介面。
沒有留言:
張貼留言