|
|
|
|
|
by jdmichal
1689 days ago
|
|
I thought it was generally considered good practice to put extension methods into static classes in their own file. So like `FooExtensions.cs` if you are writing extensions for the `Foo` class. I would consider this the same: Project should have a `GlobalUsings.cs` file. Does C# have any linters available that could enforce such a conventions? |
|
https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/tu...