Namespace Access Modifier #4987
Answered
by
yaakov-h
joshfisk
asked this question in
Language Ideas
-
I sometimes see programs split into separate assemblies to make parts inaccessible from each other, or instead things are hidden in an implementation namespace. I think it would be easier to organize things in a single assembly, if you could use the namespace as a smaller enforced boundary within the assembly. Something with this new access modifier would only be visible in the same, and nested namespaces, but otherwise be treated as internal. Maybe it could be called |
Beta Was this translation helpful? Give feedback.
Answered by
yaakov-h
Aug 2, 2021
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
svick
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Duplicate of #1138 and #2497.