how to run csharp code in visual studio code terminal

Code Example - how to run csharp code in visual studio code terminal

                
                        //to do so you need to open the interigated terminal you can open it by 
//right clicking on the file that you want to run and select interigated terminal
//now in the terminal just type
dotnet run
//this will run your c# code