c# - Protecting class in a namespace -
Within a namespace I have a utility class which is functional only for one main category which I am exposing. How can I hide it?
Create internal your class and work with it in different assemblies or Make a private nested class of its main category.
Public category A {Private class B {...} ...}
Comments
Post a Comment