using System;
class GetOSVersion 
{ 
static void GetOSVersion(PlatformID pID, Version ver) 
{ 
OperatingSystem os = new OperatingSystem(pID,ver); 
PlatformID platform = os.Platform; 
Version version = os.Version; 
Console.WriteLine("Platform : {0,-15} Version : {1}", platform,version); 
} 
static void Main() 
{ 
Console.WriteLine("Your OS Information : n"); 
GetOSVersion(Environment.OSVersion.Platform,Environment.OSVersion.Version); 
} 
}