To generate dll file from a cs file, the following command can be used:
dll
cs
csc source.cs -> source.dll