Do you mean how can you add a Solution-level .editorconfig? You can just save one next to your .sln file, then in Visual Studio right click on your Solution, click "Add > Existing Item..." & select your .editorconfig, then it should appear under the "Solution Items" virtual folder in VS & that'll apply to everything inside the Solution.
If you want to generate an .editorconfig from your editor settings, you can go to "Tools > Options > Text Editor > C# > Code Style", then click the "Generate .editorconfig file from settings" button, then save it somewhere in your solution folder.