I have written a class library with a class and an interface for the class.
At the moment the class is private and the interface is public.
If I import the dll for the class library into a console app I know that I will need to instantiate the interface like this:
IInterface iinterface = new Class();
But for that to work the Class will have to be publicly accessible too. I understand why you would want to code against the interface rather than the class but should I be giving a third party access to the class as well as the interface?