best way to run console app in .net core code example Example: dotnet core create console project dotnet new console