What is the easiest way to make C# not instantiate a class unless inherit?
Sounds weird but i dont want to explain the why. I have a base class and two class that inherit it. I want to use the derived class only and not the base. The derive class does not have any extra functions. Whats the easiest way to NOT allow me to write new BaseClass(); so i dont accidentally use it? I do have functions that operate on the base class and not the derived.