简体   繁体   中英

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 classes 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM