[Mono-list] Scripting the Linux OS with Mono
Kornél Pál
kornelpal at hotmail.com
Thu Nov 10 19:22:39 EST 2005
Hi,
You have to compile C# code using mcs that will result in a .exe assembly
that can be executed using mono:
$mcs some.cs
$mono some.exe
If you prefer you can write a shell script that will do this as a single
step.
Kornél
----- Original Message -----
From: "Abe Gillespie" <abe.gillespie at gmail.com>
To: "MonoList" <mono-list at lists.ximian.com>
Sent: Friday, November 11, 2005 1:02 AM
Subject: [Mono-list] Scripting the Linux OS with Mono
Hey all,
I was wondering if there's any easy way to run C# scripts in Mono.
I'm fairly new to Linux (just at about a year) and I'd like to avoid
learning yet another language (Perl, sh, etc.). Has anyone written a
.Net program that takes a file as input and runs that code? Perhaps
Mono can do this natively? How cool would it be to have startup
scripts written in C#?!
Thanks for the help as always.
-Abe
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list