System.Range struct Range : IEquatable<Range> Minimal polyfill for System.Range so C# range syntax compiles on .NET Framework targets. Documentation Code public Range(Index start, Index end) Initializes a new instance of the Range struct. public static bool op_Equality(Range left, Range right) public static bool op_Inequality(Range left, Range right) public bool Equals(Range other)