public static FromIndices ( int start, int end ) : |
||
start | int | |
end | int | |
Результат |
public static Range FromIndices(int start, int end)
{
return new Range(start, end - start);
}
public static Range Empty(int start)
public static Range Combine(Range x, Range y) { return(Range.FromIndices(Math.Min(x.Start, y.Start), Math.Max(x.End, y.End))); }