Development Class C#

using System;
class Sample 
{
    public static void Main() 
    {
      Console.WriteLine("OSVersion: {0}", Environment.OSVersion.ToString());
    }
}