Reference types, Value types, and Patterns
- slide 20 : 29
Namespaces and Visibility
Which kinds of visibility apply for types and namespaces in namespaces?
Types declared in a namespace
Can either have public or internal access
The default visibility is internal
Internal visibility is relative to an assembly - not a namespace
Namespaces in namespaces
There is no visibility attached to namespaces
A namespace is implicitly public within its containing namespace
Visibility of members in types
Visibility Issues