Generics Sample (C#)

This sample shows how to create a custom generic list class with a single type parameter, and how to implement IEnumerable<T> to enable foreach iteration over the contents of the list. The sample also shows how client code creates an instance of the class by specifying a ty

C# (27.9 KB)
 
 
 
 
 
(2)
1,892 times
Add to favorites
11/29/2011
E-mail Twitter del.icio.us Digg Facebook
Click an item in the panel on the left to view the contents here.