Method ExtMisc.GetStartEnd(+ 1 overload)
Overload
Calls System.Range.GetOffsetAndLength and returns start and end instead of start and length.
public static (int start, int end) GetStartEnd(this Range t, int length)
Parameters
Returns
Exceptions
Overload(top)
If this is null
, returns (0, length)
. Else calls System.Range.GetOffsetAndLength and returns start and end instead of start and length.
public static (int start, int end) GetStartEnd(this Range? t, int length)