1
When I declare the use of a namespace (example: using System;) in a Cs (C#) file, what happens? Am I just putting the classes belonging to the namespace in the scope of the class? Is there nothing else? Something physical, memory, etc?
1
When I declare the use of a namespace (example: using System;) in a Cs (C#) file, what happens? Am I just putting the classes belonging to the namespace in the scope of the class? Is there nothing else? Something physical, memory, etc?
Browser other questions tagged c# .net namespace
You are not signed in. Login or sign up in order to post.
These are my 10 cents on the subject: Not removing an unnecessary using just has the inconvenience of having an unnecessary information in your code, on the other hand unused references have a negative impact,
– Tobias Mesquita
Namespace and using are resources for programmer, there is nothing physical, performance, memory, etc. The quoted thread has a bigown response that addresses this.
– Malkaviano