开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜