What are the new collection interfaces available in C# 3.0 ?
In C# 2.0
IComparer
IEqualityComparer
IEnumerator
IEnumerable
ICollection
IDictionary
IDictionaryEnumerator
IList.
.NET 3.5 (commonly confused with C# 3.0, although they are completely separate) introduced:
IGrouping<TKey,TValue>
ILookup<TKey,TValue>
IOrderedEnumerable<T>
IOrderedQueryable
IOrderedQueryable<T>
IQueryable
IQueryable<T>
IQueryProvider
and concrete types:
HashSet<T>
Lookup<TKey,TValue>
(and a load of private stuff, but those are the main public ones)
No new interfaces AFAIK, but in the .NET Framework 3.5 (C# 3) you get the new HashSet<T>
collection class which implements a set (in the System.Core assembly).
You can compare collection interfaces available in C# 2.0 with collection interfaces available in C# 3.0
no new interface.