Step 1: Right click anywhere in Program
Step2 : Hover the Organize Usings
1. Remove unused Using => It's removed unused namespaces
2. Sort Using => It's sorted namespaces by alphabetical
3. Remove and Sort => It's removed unused namespaces and sorted by alphabetical.
Keyboard Shortcut key: SHIFT+F10+O+R
Note 1: Will performance be an issue, if there are unused Using?
No, there won't be any impact on the application performance.
Benefits of removing unused namespaces
* Clear code, which in turn makes in easy to read and maintain
* Intellisense runs faster
* Faster Compilation
Next Articles
Visual studio shortcut keys
Step2 : Hover the Organize Usings
1. Remove unused Using => It's removed unused namespaces
2. Sort Using => It's sorted namespaces by alphabetical
3. Remove and Sort => It's removed unused namespaces and sorted by alphabetical.
Keyboard Shortcut key: SHIFT+F10+O+R
Note 1: Will performance be an issue, if there are unused Using?
No, there won't be any impact on the application performance.
Benefits of removing unused namespaces
* Clear code, which in turn makes in easy to read and maintain
* Intellisense runs faster
* Faster Compilation
Next Articles
Visual studio shortcut keys
Thanks Mr.Bala, Useful tips for me
ReplyDelete