using System;
using System.Collections;
public class MyClass {
public static void Main() {
ArrayList arr1 = new ArrayList();
arr1.Add(120);
arr1.Add(160);
ArrayList arr2 = new ArrayList();
arr2.Add(200);
arr2.Add(240);
arr1.AddRange(arr2);
for (int i = 0; i < arr1.Count; i++)
Console.WriteLine(arr1[i]);
}
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265881.html