C# console app (.NET core) code example Example: dotnet core create console project dotnet new console