add console app with netcore code example Example: dotnet core create console project dotnet new console