I would like to know during execution of a program whether it is being executed using the Mono runtime or the Microsoft runtime.
I\'m currently using the following
just run the below code..
static bool IsMicrosoftCLR() { return (Type.GetType ("Mono.Runtime") == null) }