static void Main() { SealedClass instance = new SealedClass(); instance.x = 100; instance.y = 200; Console.WriteLine("x = {0}, y = {1}", instance.x, instance.y); // Delay. Console.ReadKey(); }