/// <summary> /// 字符串数组转换整形数组 /// </summary> /// <param name="Content">字符串数组</param> /// <returns></returns> public static int[] ToIntArray(string[] Content) { int[] c = new int[Content.Length]; for(int i = 0; i < Content.Length; i++) { c[i] = Convert.ToInt32(Content[i].ToString()); } return c; }