Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • I think the true "code smell" would be if the imported namespaces are all, or mostly, wildly different in purpose. To be honest, I've rarely had more than 6 to 8 using's in a single C# file. Commented Mar 23, 2016 at 20:56
  • 2
    I'd like to give you a second +1 if I could, just for using the term "code smell" correctly! Commented Mar 23, 2016 at 22:59
  • !@Greg - I agree, usually the "usings" are related. I think in this case it's a case over abstraction because about 15-20 of the "usings" come from application namespaces and the rest from .net framework. Commented Mar 24, 2016 at 14:47