Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Text.​Unicode.​UnicodeRange

Assembly: System.Text.Encodings.Web

Inheritance: object → UnicodeRange

Represents a contiguous range of Unicode code points.

Properties

public int
FirstCodePoint
Gets the first code point in the range represented by this <see cref="T:System.Text.Unicode.UnicodeRange" /> instance.
public int
Length
Gets the number of code points in the range represented by this <see cref="T:System.Text.Unicode.UnicodeRange" /> instance.

Methods

public static UnicodeRange
Create​(char firstCharacter, char lastCharacter)
Creates a new <see cref="T:System.Text.Unicode.UnicodeRange" /> instance from a span of characters.
Returns A range that includes all characters between <paramref name="firstCharacter" /> and <paramref name="lastCharacter" /> .
firstCharacter The first character in the range.
lastCharacter The last character in the range.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object