using System; using System.Net; class AddressSample { public static void Main() { IPAddress test1 = IPAddress.Parse("192.168.1.1"); Console.WriteLine("The test address is: {0}", test1.ToString()); } }