Chapter 17. Introducing generics
After completing this chapter, you will be able to:
Explain the purpose of generics.
Define a type-safe class by using generics.
Create instances of a generic class based on types specified as type parameters.
Implement a generic interface.
Define a generic method that implements an algorithm independent of the type ...
Get Microsoft Visual C# Step by Step, 8th Edition 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.