// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; public class V { public static void Main(string[] args) { #if NET11 Console.WriteLine("I was compiled for MS .NET 1.1"); #elif NET20 Console.WriteLine("I was compiled for MS .MET 2.0"); #elif MONO10 Console.WriteLine("I was compiled for Mono 1.0"); #elif MONO20 Console.WriteLine("I was compiled for Mono 2.0"); #endif } }