Select Page

C# Generic classes

You can declare a class with a generic type so that you can later instantiate it specifying the type at that point. public abstract class genericListClass<t> { protected virtual add(T value) { … } } You can then instantiate a GenericListClass for different...
%d bloggers like this: