get windows username in C# .net core3.1 vs code code example Example: how to make a C# application visual studio code mkdir MyApp; cd MyApp; dotnet new console