Summary
The BCL defines hundreds of useful interfaces and classes to boost a developer's productivity. In this chapter, we covered many important ones. Table 5.5 summarizes some of these interfaces and classes. As an exercise, I suggest that you cover the right-hand column and try to remember the idea behind each interface or class.
Name | Description |
---|---|
IEnumerable | Represents enumerable object. Makes foreach keyword in C# work. |
IEnumerator | Represents enumerator object. Returned by the enumerable object via GetEnumerator method. |
ICollection | Represents a collection. Inherits IEnumerable. |
IList | Represents a manageable collection. Inherits ICollection and IEnumerable. |
ICloneable | Provides the semantics of deep copy on an object. ... |
Get .NET Programming: A Practical Guide Using C# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.