Development C# Tutorial

using System;
class MainClass
{
    public static void Main()
    {
        Console.WriteLine("Machine Name: {0}", Environment.MachineName);
        Console.WriteLine("Version: {0}", Environment.Version);
        
    }
}
Machine Name: RNTSOFT
Version: 2.0.50727.42