I was wondering if it was possible, in a console application, to write characters like ℃ using .NET. When I try to write this character, the console outputs a q
℃
I found some elegant solution on MSDN
System.Console.Write('\uXXXX') //XXXX is hex Unicode for character
This simple program writes ℃ right on the screen.
using System; public class Test { public static void Main() { Console.Write('\u2103'); //℃ character code } }