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 together. In C or C++ I would have created an extra header file containing these 20 include files. This extra header file acts as a layer then to include the 20 other files in one go.
Unfortunately I don't know how to do this in C#. Any suggestions?