How to compile a C# source file without Visual Studio
You don’t need Visual Studio to compile C# source code. Although VS is largely available I find it interesting to know how you can compile a simple source file to an executable file without it.
All you need is a text editor and a C# compiler. Luckily, both ships with Windows 10.
Compiler
The compiler csc.exe is located:
C:\Windows\Microsoft.NET\Framework\v4.0.30319
Example
Following an example (assuming you have added this location to your Windows PATH environment variable):
csc /t:exe EuroDollar.cs
would produce EuroDollar.exe in a snap.
Following the code of EuroDollar.cs