Just curious about it.
Does it matter if I add multiple using
directives at the starting of my code file which I don't use in my code. Like this.
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.IO;
//using blah.. blah.. blah..;
public class myClass
{
// Class members
}
Does it have a bad impact on my application's memory usage?
Does it have a bad impact on my application's performance?
I know it is a good practice to remove them and we have short full support of .Net IDE to do so, but I am just curious to know about it.
using
statements. jetbrains.com/resharper/webhelp/… – Tomikausing
directives.using
statements are the ones which appear in methods etc, to automatically callDispose
. – Muriahusing
. That said, as VinayC said,using
is only a compiler helper. – Storer