apologies if this is stupid. How can I print a unicode character, say \ u20ac, using an integer? So, instead Console.WriteLine("\u20ac"); , I would like to pass the integer 8364. Thanks.
Console.WriteLine("\u20ac");
Just enter a number char that represents the UTF-16 code point:
char
public static void PrintChar(int codePoint) { Console.WriteLine((char) codePoint); } PrintChar(8364);