Ejemplo n.º 1
0
 static void Main()
 {
     int[] A = new int[] { 1, 2, 3, 4, 5, 6 };
     H2.PrintArray(A);
     SetArray(A, 999);
     H2.PrintArray(A);
 }
Ejemplo n.º 2
0
        static void Main()
        {
            int[] A = new int[] { 1, 2, 3, 4, 5 };
            H2.PrintArray(A);

            int[] B = ResizeArray(A, 10);
            H2.PrintArray(B);

            int[] C = ResizeArray(B, 3);
            H2.PrintArray(C);
        }