My app scan Bluetooth devices and show in a table. But, sometimes it scan the same device two or more times and show the same device many times in the table.
I need to filter it. When the Name or UUID of the device is repeated the table will show just one time.
EDIT: This What I tried, but isn't work...
            CBPeripheral peripheral = this._peripherals [indexPath.Row];
        List<string> filter = new List<string>();
        filter.Add (peripheral.Identifier.AsString());
        string[] array = {};
        foreach (var c in filter) {
            if (!ReferenceEquals (c, array)) {
                int x = array.Length;
                filter.CopyTo (0, array, 0, x);
            }
        }
        foreach (string i in array) {
            Console.WriteLine ("ARRAY: "+i.ToString());
        }
 
     
     
     
    