public static void RemoveIfContained <T>(this MyIterableComplementSet <T> self, T item) { if (self.Contains(item)) { self.Remove(item); } }