[MonoDevelop] Moving to MonoDevelop

jmalcolm malcolm.justin at gmail.com
Fri Jul 30 11:17:29 EDT 2010


You can detect if you are running on Mono this way:

using System;
 
class Program {
    static void Main ()
    {
        Type t = Type.GetType ("Mono.Runtime");
        if (t != null)
             Console.WriteLine ("You are running with the Mono VM");
        else
             Console.WriteLine ("You are running something else");
    }
}


>From http://www.mono-project.com/FAQ:_Technical

Cheers.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Moving-to-MonoDevelop-tp2308080p2308088.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list