Method Contains
Contains(int)
Determines whether the position lies within the span.
public bool Contains(int position)
Parameters
position
intThe position to check.
Returns
- bool
True if the position is greater than or equal to Start and strictly less than End, otherwise false.