c# - Is there any way to get rid of the long list of usings at the top of my .cs files? -


as more , more namespaces in solution, list of using statements @ top of files grows longer , longer. case in unit tests each component might called need include using interface, ioc container, , concrete type.

with upward of 17 lines of usings in integration test files getting downright messy. know if theres way define macro base using statements? other solutions?

some people enjoy hiding usings in #region. otherwise, think you're out of luck. unless want put namespace on referents.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -