how to run a C# program in visual studio code 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 c program from visual studio terminal

Fire up the terminal from VS code
Use the command "gcc filename.c" to compile the program
Use the command ".\a.exe" to run the program from the terminal

P.S. Remove "" before exceuting

Example 3: 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
*/