// Assume you have created a custom
// generic list class.
public class MyList<t>
{
private List<t> listOfData = new List<t>();
}
// Concrete types must specify the type
// parameter when deriving from a
// generic base class.
public class MyStringList : MyList<string>
{}
No comments:
Post a Comment