Inheritance List IEmurable:
Inheritance List IEmurable:
- IEnumerable (most basic) everything inherits from interface.
- IEnumerable-> IQueryable<T>(means IQueryable<T> inherits from IEnumerable<T>)
- IEnumerable-> List<T> (just an output format, and while it implements IEnumerable<T>, is not directly related to querying or IQueryable. )
- IEnumerable-> ICollection<T>
- IEnumerable-> ICollection<T> -> IDictionary (An IDictionary implementation is a collection of key-and-value pairs, like theHashtable class. )
- IEnumerable-> ICollection<T> -> IList (An IList implementation is a collection of values that can be sorted and whose members can be accessed by index, like the ArrayList class. In addition, IList implementations fall into three categories: read-only, fixed-size, variable-size. A read-only IList cannot be modified. A fixed-size IList does not allow the addition or removal of elements, but it allows the modification of existing elements. A variable-size IList allows the addition, removal and modification of elements.)
- If neither the IDictionary interface nor the IList interface meet the requirements of the required collection, derive the new collection class from the ICollection interface instead for more flexibility.
- Some collections that limit access to their elements, like the Queue class and the Stack class, directly implement the ICollection interface.
Inheritance List of IEnumerable, Inheritance List of IList, Inheritance List of ICollection , Inheritance List of IDictionary:
-
Inheritance List Of IEnumerable
-
Which objects inherited from IEnumerable<T>?
-
Inherihance of IEnumerable<T>
-
IEnumerable<T> Inheritance List
No comments:
Post a Comment