console application .NET cre code example Example: dotnet core create console project dotnet new console