[Mono-list] How to compiler the c# and run it ?

Ravi Pratap M ravi@ximian.com
Mon, 7 Jan 2002 11:46:38 +0530

Hi Betty,

>What's the command that compiler the c# and run it ?
>Do you have some samples ?

    You just have to type a make in the top-level mcs directory like this :

[ravi@raj] $ pwd
[ravi@raj] $ make

    and that should compile the compiler for you.

    The compiler lives in mcs/mcs/mcs.exe and that's what you can use to
compile your C# programs.

    mcs/tests has a lot of sample programs and you can run the test suite by
doing a make inside that directory.