[Mono-devel-list] Help finding a define

Jose Cornado jcornado at grandecom.net
Mon Mar 1 12:40:17 EST 2004


I am working on some C# code that I want to be able run seamlessly 
between .Net and Mono.

The problem that I am running into is that some of the Exception 
messages between .Net and Mono are not the same.

I looked at System.Environment but it just throws version numbers. If  I 
wanted to System.Environment use  as a way to find out if my code is 
running on .Net or Mono there is a risk that the version numbers coincide.

Is there a define in the Mono environment that I could use to safely 
choose one or the other?

Thanks a lot!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040301/f35e01a3/attachment.html 

More information about the Mono-devel-list mailing list