public static string[] RemoveAt(this string[] parts, int i) { ArrayList a = new ArrayList(parts); a.RemoveAt(i); return a.ToStringArray(); }