public SetCustom ExceptWith(SetCustom other) { SetCustom result = new SetCustom(_items); foreach (var item in other) { result.Remove(item); } return(result); }
public bool Subset(SetCustom other) { SetCustom result = new SetCustom(_items); foreach (var item in other._items) { result.Remove(item); } if (result == null) { return(true); } else { return(false); } }