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