Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance: What affect does using have...
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00783193
Message ID:
00783324
Views:
19
The using statement (or Imports statement for VB.NET) affects performance in the IDE but not the execution of the code. When the code is compiled, the compiler will use the using statements to resolve where to find the different classes. The more using statements you have, the more checking it will do. For VB.NET, there is even more of a performance hit since it has background compiling that C# does not offer. Once the code is compiled, all the references have been resolved and the code will not perform any differently.

Thank you, Cathi, for that slice of knowledge.
Previous
Reply
Map
View

Click here to load this message in the networking platform