Performance between importing entire namespace versus using alias in C#? -


Is there a difference between using aliasing to import a whole namespace versus only one square? If so, then what's the difference?


Example:

Importing a complete namespace:

  Using the system.   

To customize only one square, to aliasing:

  using binding pumps = system. Refining Binding flags;  EDIT:  EDIT:  The way you respond, the more it will be appreciated ... In other words, some other yes / no answer please Perhaps some authoritative source also supports it?   

zero Namespace Import is a compilation time feature and the generated IL will be exactly the same.

Comments