<分区>
欺骗:Should 'using' statements be inside or outside the namespace?
如果我使用 Visual Studio 向项目添加一个新类,它会在命名空间之前添加所有 using 语句,但对于同一个项目,FxCop 表示将命名空间放在命名空间内。哪种编码风格更好?
标签 c#
<分区>
欺骗:Should 'using' statements be inside or outside the namespace?
如果我使用 Visual Studio 向项目添加一个新类,它会在命名空间之前添加所有 using 语句,但对于同一个项目,FxCop 表示将命名空间放在命名空间内。哪种编码风格更好?
最佳答案
关于c# - 在 C# .cs 文件中放置 using 语句的位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/496510/