public static StatusDevelopment[] Remove(int index, StatusDevelopment[] list) { ArrayList tmp = new ArrayList(); foreach(StatusDevelopment str in list) tmp.Add(str); tmp.RemoveAt(index); return tmp.ToArray(typeof(StatusDevelopment)) as StatusDevelopment[]; }
public static StatusDevelopment[] Add(StatusDevelopment n, StatusDevelopment[] list) { ArrayList tmp = new ArrayList(); foreach(StatusDevelopment str in list) tmp.Add(str); tmp.Add(n); return tmp.ToArray(typeof(StatusDevelopment)) as StatusDevelopment[]; }