开发者

Can Adding Namespace to my current website, will give me any performance or flexibility Gain?

开发者 https://www.devze.com 2022-12-30 08:56 出处:网络
We have quite Large Web Based System, which is recently converted from Website to WebApplication, when it was an Website we not have any classes marked under the standard MyCompany.UI Namespace, now I

We have quite Large Web Based System, which is recently converted from Website to WebApplication, when it was an Website we not have any classes marked under the standard MyCompany.UI Namespace, now I am planning to move all the cl开发者_C百科asses under the namespace, will I gain anything with doing that?

Thanks, Manoj


Using namespaces will (should) help you organize your code and separate your code from other people's stuff without having to create elaborate complicated class names. Namespaces will not provide you with any performance advantages - the computer has to do the same work regardless of what the class is called.


Using namespaces won't improve your code's performance. They just help organize your code into sections.

0

精彩评论

暂无评论...
验证码 换一张
取 消