To lint c# we will use the dotnet formatter that comes bundled with dotnet.
Format
dotnet format
Fix white spaces
dotnet format whitespace
Code style analyzers
dotnet format style
Specify workspace
dotnet format hello_world.csproj
Increase output verbosity
dotnet format hello_world.csproj --verbosity d