Mega Code Archive
Gets a Version object that describes the major, minor, build, and revision numbers of the common language runtime
using System;
class Sample
{
public static void Main()
{
Console.WriteLine("Version: {0}", Environment.Version.ToString());
}
}