Rune.IsAscii Property

Definition

Gets a value that indicates whether the scalar value associated with this Rune is within the ASCII encoding range.

public bool IsAscii { get; }

Property Value

true if the scalar value associated is within the ASCII encoding range ([ U+0000..U+007F ]) and therefore representable by a single UTF-8 code unit; otherwise, false.

Applies to

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9