Saturday, June 27, 2009

Summary of interfaces in 3.5 .NET framework IEnumerable, IQueryable and IList

IEnumerable - supports being used in a foreach statement and that's about it.
IQueryable - supports further filtering, paging, etc. Does not support random access via an indexer. Implements IEnumerable
IList - supports random access via an indexer. does not support further filtering. Implements IEnumerable

No comments:

Post a Comment