JasonBock / SpackleNet

Spackle is a project that contains a number of helper methods I've used to supplement the core classes in .NET.
MIT License
14 stars 1 forks source link

Create `Shift()` Method for a `Range` #37

Closed JasonBock closed 1 year ago

JasonBock commented 1 year ago

Basically, if a range is [3, 7), and Shift(4) is called, the result would be [7, 11). Negative numbers would work too.