how to create console application in .net core code example Example: dotnet core create console project dotnet new console