Exemplo n.º 1
0
        static void Main(string[] args)
        {
            SealedClass instance = new SealedClass();

            instance.x = 100;
            instance.y = 200;

            Console.WriteLine($"x = {instance.x}, y = {instance.y}");

            //Delay
            Console.ReadKey();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            SealedClass instance = new SealedClass();

            instance.x = 100;
            instance.x = 200;

            Console.WriteLine("x = {0}, y = {1}", instance.x, instance.y);

            //Delay
            Console.ReadKey();
        }