<PackageReference Include="System.Drawing.Common" Version="10.0.4" />

System.Drawing.CharacterRange

Specifies a range of character positions within a string.
namespace System.Drawing { public struct CharacterRange : IEquatable<CharacterRange> { public int First { get; set; } public int Length { get; set; } public CharacterRange(int First, int Length); public bool Equals(CharacterRange other); public static bool operator ==(CharacterRange cr1, CharacterRange cr2); public static bool operator !=(CharacterRange cr1, CharacterRange cr2); } }