To write quality code we need to follow standard practices. For good developer writing code with standard format is very important. In this blogpost we will learn how to format your .NET project files in a quick way with just running some simple command.

now let’s jump to the steps.

Step 1- Open project in the Visual Studio and then Go to Tools–>Command Line–>and open Developer Command prompt from the Visual Studio as depicted below.

Then run the following command

dotnet format

Leave a Reply

Your email address will not be published. Required fields are marked *