Too many namespaces in a class
-
In visual studio you can: Main Menu - On the Edit menu, point to IntelliSense, point to Organize Usings, and then click Remove Unused Usings. Context Menu - Right-click anywhere inside the code editor, point to Organize Usings, and then click Remove Unused Usings. My feeling is that, it will be removed during compilation time (JIT) so the performance will be impacted during the load of the file, evaluation of it. But not during the runtime.
-
Nope. But if you add extra unused references then yes. Please refer http://msdn.microsoft.com/en-us/magazine/cc163655.aspx[^]
Jayant D. Kulkarni Brainbench Certified Software Engineer in C#1.1, C# 2.0, ASP.NET, .NET Framework and ADO.NET
-
Nope. But if you add extra unused references then yes. Please refer http://msdn.microsoft.com/en-us/magazine/cc163655.aspx[^]
Jayant D. Kulkarni Brainbench Certified Software Engineer in C#1.1, C# 2.0, ASP.NET, .NET Framework and ADO.NET
jdkulkarni wrote:
if you add extra unused references then yes
They may affect compile time, but not run time.
-
That question makes no sense. 0) Namespaces aren't in classes. 1) If it's unused, it's not in the class.