Pages

Aug 31, 2012

Inheritance List of IEnumerable

Inheritance List IEmurable:


Inheritance List IEmurable:
  1. IEnumerable (most basic)  everything inherits from interface.
  2. IEnumerable-> IQueryable<T>(means   IQueryable<T> inherits from  IEnumerable<T>)
  3. IEnumerable->  List<T> (just an output format, and while it implements IEnumerable<T>, is not directly related to querying or IQueryable. )
  4. IEnumerable->  ICollection<T>
  5. IEnumerable-> ICollection<T> -> IDictionary (An IDictionary implementation is a collection of key-and-value pairs, like theHashtable class. )
  6. 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.)
  7. 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.
  8. 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:

SEO Labels for Inheritance List Of IEnumerable:

Inherihance of IEnumerable<T> ,

IEnumerable<T> Inheritance List ,

Inheritance ,

Inherit ,

IEnumerable ,

IList ,

ICollection ,

IDictionary

No comments:

Post a Comment