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