console application c# visual studio .net core code example Example: dotnet core create console project dotnet new console