[]
Indicates if the range contains
value
.
public bool Contains(T value)
Type | Name | Description |
---|---|---|
T | value | The value to look for. |
Type | Description |
---|---|
bool | true if the range contains , false otherwise.
|
Type | Condition |
---|---|
ArgumentNullException | is null.
|
Indicates if the range contains
value
.
public bool Contains(Range<T> value)
Type | Name | Description |
---|---|---|
Range<T> | value | A range to test. |
Type | Description |
---|---|
bool | true if the entire range in is within this range.
|
Type | Condition |
---|---|
ArgumentNullException | is null.
|