Method ContainsCount
ContainsCount(T)
Count the number of times an item is in this set (either 0 or 1).
Declaration
public virtual int ContainsCount(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The item to look for. |
Returns
Type | Description |
---|---|
System.Int32 | 1 if item is in set, 0 else |