private static object[] GetObjects( Array a ) { object[] list = new object[a.Length]; for ( int i = 0; i < list.Length; ++i ) list[i] = a.GetValue( i ); return list; }