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

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -