xxxxxxxxxx
There are several online compilers available for C# that you can use to write and test code without having to install an IDE or compiler on your local machine. Here are a few popular options:
1- .NET Fiddle: https://dotnetfiddle.net/
2- Repl.it: https://repl.it/languages/csharp
3- OnlineGDB: https://www.onlinegdb.com/online_csharp_compiler
4- JDoodle: https://www.jdoodle.com/online-c-sharp-compiler
5- Compiler Explorer: https://godbolt.org/z/aPPKxs9ac
xxxxxxxxxx
//Good C# online compiler
https://www.programiz.com/csharp-programming/online-compiler/
xxxxxxxxxx
C:\windows\microsoft.net/framework\v3.5\csc.exe
if you don't have it download and install .net 3.5
btw the program must be run from the command promt