Is it possible to have a class that is available just to other specific class, and inaccessible to the "rest" of the code?
Thank you.
Is it possible to have a class that is available just to other specific class, and inaccessible to the "rest" of the code?
Thank you.
For one class, you make nest one class inside another. If you need to later expand this, you can do it by breaking the Solution up among different Projects (dlls), marking a class internal
, and using the [InternalVisibleTo]
attribute.