Quantcast
Channel: Questions in topic: "namespace"
Viewing all articles
Browse latest Browse all 398

Namespaces usage recommendation

$
0
0
I'm used to create a lot of small classes and I want to organize them properly. Namespaces are best way to keep project clean and I believe that only automatization can actually help me) I wrote a script that adds a path based namespace to created C# file but there is a problem. For example, I have a namespace ProjectName.GUI and a class in the ProjectName namespace. When I'm trying to call GUI.Label() compiler throws error *The type or namespace name `Label' does not exist in the namespace `MH.GUI'. Are you missing an assembly reference?* May be you have recommendations how to organize my namespaces properly?

Viewing all articles
Browse latest Browse all 398

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>