public static dynamic GetTSObject(Series[] dynArray) { if (dynArray is null) { return(null); } var list = new System.Collections.Generic.List <dynamic>(); foreach (var dynItem in dynArray) { list.Add(Series_.GetTSObject(dynItem)); } return(list.ToArray()); }