예제 #1
0
        static void Main(string[] args)
        {
            //Array arr_ = new Array(4);
            Array arr = new Array();

            arr.ForWord = "Массив1:";
            arr.PrintMas();
            int nach = 1;
            int pol;

            arr.Summ(ref nach, out pol);

            Console.WriteLine();

            Array2 arr2  = new Array2(2, 3);
            Array2 arr2_ = new Array2();

            Array2.Method();
            Array2 arr2__ = new Array2();



            arr2.PrintMas1();
            Console.WriteLine();
            arr2_.PrintMas1();
            Console.WriteLine();


            //Array3 el = new Array3(3);

            For_last one = new For_last();

            Console.WriteLine(one.Equals("Nas"));
            Console.WriteLine(one.GetHashCode());
            Console.WriteLine(one.ToString());
        }