vscode c# run file code example

Example 1: how to make a C# application visual studio code

mkdir MyApp; cd MyApp;
dotnet new console

Example 2: how to run csharp in visual studio code

/*
You should have a application if you want to create a application go 
the folder which is your project now use the command in the dir use the 
command dotnet new console to intialize it as a console application. Now 
You will the a file called {You workspace}.csproj go to the file and run it
*/

Tags:

Misc Example