Can someone tell me how to compile a library with mcs (mono c# compiler)?

I can compile an executable, but I don't know how to compile a library.

Thanx