Click or drag to resize
CharIsSurrogate Method (Char)
Indicates whether the specified character has a surrogate code unit.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static bool IsSurrogate(
	char c
)

Parameters

c
Type: SystemChar
The Unicode character to evaluate.

Return Value

Type: Boolean
true if c is either a high surrogate or a low surrogate; otherwise, false.
See Also