Using the Import directive can save you a lot of typing! BUT..

  • Thread starter Thread starter Johns
  • Start date Start date
J

Johns

does it affect the performance ???

Johns.
(Always have a question.)
 
Not really. It's just a shortcut so you don't have to use full names, but
the compiler eventually ends up with the same class no matter how you
specify its name. It might slow down compiling a little bit (as the compiler
has to search through imported namespaces to get the full class name) but I
wouldn't worry about that.

Jerry
 
Thanks for the prompt reply, Jerry.

Johns.


Jerry III said:
Not really. It's just a shortcut so you don't have to use full names, but
the compiler eventually ends up with the same class no matter how you
specify its name. It might slow down compiling a little bit (as the compiler
has to search through imported namespaces to get the full class name) but I
wouldn't worry about that.

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top