Wednesday, 21 November 2012

Putting using directives inside the namespace

Media_httpwwwhanselma_vsgaq

Stylecop has been giving me crap about putting the using statements inside the namespace as opposed to being just at the top of the class file. I really didn't like the style of this but worried that it had an affect on performance.

After reading about and checking this Hanselman blog, it seems I don't need to worry and can just turn the complaint off.

http://www.hanselman.com/blog/BackToBasicsDoNamespaceUsingDirectivesAffectAss...

No comments:

Comments System

Disqus Shortname