Should all the using directives for namespaces be inside the namespace?

Posted by Sajeev SL on Stack Overflow See other posts from Stack Overflow or by Sajeev SL
Published on 2010-06-02T04:30:14Z Indexed on 2010/06/02 4:33 UTC
Read the original article Hit count: 190

Filed under:

Microsoft StyleCop provided a warning when the using directives for namespaces are provided outside of the namespace. Is this really required as my view on this is that using dircetives for namespaces is for providing a alias name for namespace and for removing the need for providing the namespace name when a class/interface is used. I dont think it will be used for loading the assembly.

© Stack Overflow or respective owner

Related posts about c#