13
1
using System;using System.Net;
2
//http://metadataconsulting.blogspot.com/2019/06/Notepad-Control-Characters-Explained.html
3
public class Program
4
{
5
public static void Main()
6
{
7
Console.WriteLine("List of Unicode Control Characters");
8
for (int i=0; i< ushort.MaxValue; i++) { //ushort.MaxValue constant is 65535; that is, hexadecimal 0xFFFF.
9
if (char.IsControl((char)i))
10
Console.WriteLine(string.Format(@"\u{0:x4}", i)+"="+((char)i).ToString());
11
}
12
}
13
}
Cached Result