What happens when I declare to be using (using) a namespace in a class?

Asked

Viewed 33 times

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?

  • 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,

  • 1

    Namespace and using are resources for programmer, there is nothing physical, performance, memory, etc. The quoted thread has a bigown response that addresses this.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.