public class StuffDoer<T>
{
// do stuff
}
I want that this is always of type string, so instead of doing this:
StuffDoer<string> stuffer = new StuffDoer<string>();
I want to be able to do this:
StuffDoer stuffer = new StuffDoer();
and if I need a StuffDoer of type int, just define that with generics.
StuffDoer<int> stuffer = new StuffDoer<int>();
Is this possible?