using System.Collections.Generic;
public static void Main()
char [] input = new char[] { 'a', '\uD800', '\uDC00', 'z' };
Console.WriteLine("Is each of the following characters a high surrogate?");
for (int i = 0; i < input.Length; i++)
var result = input[i].IsLowSurrogate();
Console.WriteLine("input[{0}] = {1} ", i, result);