run c# code with dotnet code example Example: how to make a C# application visual studio code mkdir MyApp; cd MyApp; dotnet new console