= (\ud835\udc00) in UTF16
How do I do this conversion in C#?
The following code doesn't allow me to enter the character above. It throws the error "Too many characters in character literal" I guess it's because the char is multi point.
string hex = ((int)'').ToString("X4");
string hex = ((int)'A').ToString("X4");// This works
A help would be much appreciated!