Пример #1
0
        static void Main(string[] args)
        {
            int[] arr = new int[] { 3, -4, 5, -2, 7, 8, 4, 5 };

            overClass new1 = new overClass(arr);
            overClass new2 = new overClass(new1);

            new1.print(new2);
            Console.ReadKey();
        }
Пример #2
0
 public void print(overClass lab)
 {
     Console.WriteLine($"Min number in array: {lab.Min}");
 }
Пример #3
0
 public overClass(overClass obj)
 {
     Min = obj.Min;
 }