News for hackers. Stuff that matters.
Re:How generics were added to .NET by BitterAmethyst on Tuesday March 06, 2018 @04:02AM (#16527737)
You can make the constructors on the class private and have a public static method on the class that does the instantiation.
Re:How generics were added to .NET by guelo on Tuesday March 06, 2018 @11:28AM (#16529833)
For the simple case yes. But if you want several classes cooperating, maybe helpers or related data classes, your options are assemblies or like you said to shove everything into one giant class. You have less flexibility of separating things out.