Exemple #1
0
        static void Main(string[] args)
        {
            CA obj = new CA();

            Console.WriteLine("x={0,2} y={1,2} z={2,2}", obj.x, obj.y, obj.z);
            Console.ReadLine();
        }
Exemple #2
0
        static void Main(string[] args)


        {
            CA obj = new CA();

            Console.WriteLine("x={0,2} y={1,2} z={2,2}", obj.x, obj.y, obj.z);
            CA obj1 = new CA(5, 7); Console.WriteLine("x={0,2} y={1,2} z={2,2}", obj1.x, obj1.y, obj1.z);
            CA obj2 = new CA(8, 9, 25); Console.WriteLine("x={0,2} y={1,2} z={2,2}", obj2.x, obj2.y, obj2.z);

            Console.WriteLine("поля для чтения  {0,2}  {1,2}  {2,2}", obj.rd, obj1.rd, obj2.rd);
            Console.ReadLine();
        }