public static NSArray ArrayWithObjects(object obj, params object[] args) { NSArray ary = new NSArray(); ary.Add(obj); for (int i = 0; i < args.Length; i++) { ary.Add(args[i]); } return(ary); }
public static NSArray ParseArray(XmlNode node) { NSArray array = new NSArray(); int count = node.ChildNodes.Count; for (int i = 0; i < count; i++) { object result = Parse(node.ChildNodes[i]); if (result != null) { array.Add(result); } } return(array); }