Книги автора: C# 2008 Programmer
Книга: C# 2008 Programmer
Summary
Summary
Generics allow you define type-safe data structures without binding to specific fixed data types at design time. The end result is that your code becomes safer without sacrificing performance. In addition to showing you how to define your own generic class, this chapter also examined some of the generic classes provided in the .NET Framework class library, such as the generic LinkedList<T>
and Collection<T>
classes.