I have got 5 C# files that have 20 using directives in common. I want to get rid of this code duplication, especially because these 20 using directives belong logically toge
Simple answer. If your code files are using 20 common using statements, they should not be separated into 20 statements. Also, I wouldn't worry that much over that kind of code duplication. It's not hitting your runtime performance in any way, so it's not really related to DRY paradigm.