how net core works as console app ? code example Example: dotnet core create console project dotnet new console