dotnet new console -o code example Example: dotnet new console mkdir MyApp; cd MyApp; dotnet new console