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

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -