create a console app in dotnet cli code example Example: dotnet new console mkdir MyApp; cd MyApp; dotnet new console