Using the C# Compiler at the Command Line

C:\>csc /t:library /out:reslib.dll mysource.cs
    csc /t:winexe /r:ctls1.dll /r:ctls2.dll winapp.cs
    csc /keyfile:strongkey.snk secure.cs