ArrayList stuinfo = new ArrayList(); string[] studentinfo = (string[])stuinfo.ToArray(typeof(string));//转换成一维数组