using System; namespace ACCode { class Program { static void Main(string[] args) { var computerName = System.Environment.MachineName; Console.WriteLine(computerName); Console.ReadLine(); } } }