Range

public static class Range
Helpers for the Range<T> structure.

Methods

FromLength

#
public static Range<int> FromLength(int start, int length)
Creates a new integer range with the specified start and length.
start (int)Start of the range.
length (int)Length of the range.
A new range with the specified start and length.

FromLength

#
public static Range<long> FromLength(long start, long length)
Creates a new long range with the specified start and length.
start (long)Start of the range.
length (long)Length of the range.
A new range with the specified start and length.