c# console app .net core to .net framework code example Example: dotnet core create console project dotnet new console