Get a Version object that describes the major, minor, build, and revision numbers of the common language runtime in CSharp
Description
The following code shows how to get a Version object that describes the major, minor, build, and revision numbers of the common language runtime.
Example
/* w w w . java2 s. co m*/
using System;
class Sample
{
public static void Main()
{
Console.WriteLine("Version: {0}", Environment.Version.ToString());
}
}
The code above generates the following result.