Alex Rivera | Logout

Namespace-only class visibility in C#/.NET?

Asked 2009-08-03T18:25:52.733
104

In C#, can you make a class visible only within its own namespace without living in a different assembly? This seems useful for typical helper classes that shouldn't be used elsewhere. (i.e. what Java calls package-private classes)

Edit
Report

1 Answer

41

I don't think that what you want is possible.

answered 2009-08-03T18:43:13.603

Your Answer