Method EqualsRange
EqualsRange<T>(T, IEnumerable<T>)
Gets whether value
equals any item in the items
.
public static bool EqualsRange<T>(T value, IEnumerable<T> items)
Parameters
value
TValue to compare with
items
.items
IEnumerable<T>Items to compare with
value
.
Returns
Type Parameters
T
Type of the items.