Operator implicit operator
implicit operator Rune(char)
Returns a rune.
Declaration
public static implicit operator Unicode.Rune(char codepoint)
Parameters
Type | Name | Description |
---|---|---|
char | codepoint | A code point. |
Returns
Type | Description |
---|---|
Unicode.Rune | A rune. |
Remarks
Because a char is 16-bit, it can only represent the first 2^16 code points, not all 1.1 million.