July 2015
Intermediate to advanced
1300 pages
87h 27m
English
Collections are special classes that can store sets of objects; the .NET Framework offers both nongeneric and generic collections. Whatever kind of collection you work on, collections implement some interfaces. The first one is ICollection that derives from IEnumerable and provides both the enumerator (which enables For..Each iterations) and special members, such as Count (which returns the number of items within a collection) and CopyTo (which copies a collection to an array). Collections also implement IList or IDictionary; both inherit from ICollection and expose members that enable adding, editing, and removing items from a collection. The difference is that IDictionary works with key/value pairs instead ...