//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