Do I really need all the imports

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Do I really need all the imports that come by default in my WebForm ?

Definitely I believe not, and I have to test each one in order to remove it
because I think it is loading my app unnecessarily


Am I Right?
 
Hi Kenny,

AFAIK, an import statement simply enables you to reference class members
more easily; I don't believe it loads anything.

Bernie Yaeger
 
That's correct. If you're worried about your app loading things have a lok
first at your references. Although even this is not reliable, since
references are only loaded if they are actually used IIRC.
 
No, Imports do not affect the loading of your app. They influence only on
the speed resolving types (and the keystrokes that you save when coding).

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 
Back
Top