Is there any problem using unnecessary namespaces?
I dont clean the unnecessary namespaces that .net automatically generates. Is there any problem with that?
serkan sendur
Postaholic
2,062 posts since Jan 2008
Reputation Points: 854
Solved Threads: 127
No, there are no performance hits, no overhead, or anything UNLESS you actually use the namespace.
So having System.IO and not using any reference to it does nothing towards your application. It just allows the application to use the namespace, if it is needed.
SheSaidImaPregy
Veteran Poster
1,080 posts since Sep 2007
Reputation Points: 43
Solved Threads: 68
What is your reference SheSaid ? :). Do you have any resources about it? Article or so?
serkan sendur
Postaholic
2,062 posts since Jan 2008
Reputation Points: 854
Solved Threads: 127
I've looked it up before when I started with VS because it imported more than 20 that I don't use. Let me find it.
SheSaidImaPregy
Veteran Poster
1,080 posts since Sep 2007
Reputation Points: 43
Solved Threads: 68
SheSaidImaPregy
Veteran Poster
1,080 posts since Sep 2007
Reputation Points: 43
Solved Threads: 68