옵자
옵자
CC#
Created by 옵자 on 1/23/2024 in #help
How to create a better namespace structure?
I'm new to C#, but I'm having trouble creating a namespace structure My question is, is it correct for a parent namespace to have a dependency on a child namespace? https://github.com/dotnet/runtime/tree/main/src/libraries/System.Private.CoreLib/src/System If I look at the files in the System namespace, they are accessing the sub-namespaces to organise the code, is this an exception because it is the same concept as the root namespace, like a main function, or is it okay to have dependencies on sub-namespaces?
24 replies