See Also: NSSet Members
The following example shows how to create a set
c# Example
// Create the set out of four objects var myColors = new NSSet (UIColor.Red, UIColor.Blue, UIColor.Yellow, UIColor.Red); // The resulting array will only contain Red, Blue and Yellow UIColor [] asArray = myColors.ToArray<UIColor> ();