Is sa1200 All using directives must be placed inside the namespace (StyleCop) purely cosmetic? [duplicate]
问题 This question already has answers here : Closed 10 years ago . Possible Duplicate: Should Usings be inside or outside the namespace sa1200 All using directives must be placed inside the namespace (StyleCop) Is this just for code readibility or is there any actual advantage to doing so? Does it help the GC somehow? 回答1: It definitely won't help with GC. Here's the discussion about two styles: http://blogs.msdn.com/abhinaba/archive/2006/08/21/709051.aspx http://blogs.msdn.com/abhinaba/archive