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.
-
It's a choice. Personally, I have them outside. However, check this blog post for considerations regarding inside vs. outside. blogs.msdn.com/b/ericlippert/archive/2007/06/25/…Anthony Pegram– Anthony Pegram2010-06-02 04:51:07 +00:00Commented Jun 2, 2010 at 4:51
-
possible duplicate of Should Usings be inside or outside the namespaceMassimiliano– Massimiliano2012-02-24 03:24:48 +00:00Commented Feb 24, 2012 at 3:24
Add a comment
|