Learning C# 2005: Get Started with C# 2.0 and .NET Programming (2nd Edition)

14.2. Collection Interfaces

The .NET Framework provides a number of interfaces , such as IEnumerable and ICollection , that the designer of a collection must implement to provide full collection semantics. For example, ICollection allows your collection to be enumerated in a foreach loop.

Категории