dotnet command line create class code example
Example 1: dotnet new console
mkdir MyApp; cd MyApp;
dotnet new console
Example 2: dotnet new emty webapp
dotnet new web -o <Web app name>
mkdir MyApp; cd MyApp;
dotnet new console
dotnet new web -o <Web app name>