METHOD
String.EnumerateRunes
Enumerates Unicode scalar values, substituting replacement values for malformed UTF-16.
Formal Syntax & Structure
csharp syntaxcsharp
text.EnumerateRunes()Working Example
Example Snippetcsharp
foreach (System.Text.Rune r in "A".EnumerateRunes()) System.Console.WriteLine(r.Value);