Monday, June 20, 2016

IList


1. IList exists in System.Collections.
2.  IList is used to access an element in a specific position/index in a List.
3.  Like IEnumerable, IList is also best to query data from in-memory collections like List, Array etc.
4.  IList is useful when you want to Add or Remove items from the List.
5. IList can find out the no of elements in the collection without iterating the collection.
6.  IList supports deferred execution.

7.  IList doesn’t support further filtering.

No comments:

Post a Comment