public void Remove(ZönDevice device) { for (int i = 0; i < deviceArray.Length; i++) { if (deviceArray[i] == device) { deviceArray = (ZönDevice[])RemoveAt(deviceArray, i); } } }
public void Add(ZönDevice device) { deviceArray[counter++] = device; }