예제 #1
0
        // methods
        public static void Test()
        {
            Console.WriteLine("\nTest ARRAY\n");
            ARRAY <int> arr = new ARRAY <int>();

            arr[5] = 10;
            Console.WriteLine("5th element of the array: {0}", arr[5]);
            Console.ReadKey();
        }
예제 #2
0
        static void Main(string[] args)
        {
            INT.Test();
            STRING.Test();
            ARRAY <int> .Test();

            TWO_INT.Test();
            INT_2.Test();
            STRING_2.Test();
        }
예제 #3
0
 public ARRAY(ARRAY <T> obj)
 {
     Array.Copy(obj.array, array, obj.array.Length);
 }