Overline in console programming

Just a quick question. For the Roman numerals above, 3999

we used them with a superscript line. For presentation, 4000

we will use the following:

So, to display this label, what should I do? Also, please tell me which of the above is the right?


Update # 1

I saw somewhere that we can use Unicode characters using the following code:

Console.OutputEncoding = System.Text.Encoding.Unicode;
Console.WriteLine("H\u0305");
Console.WriteLine("\u0305H");
Console.ReadLine();

      

After entering this code, I set up the console to use the font Consolas

in 14pt

. I got this output:

I expected any of the codes to show me the combined version, but didn't help.

+3


source to share


1 answer


In the console? You can not. Drawing to the console this way is not possible because the console only supports characters.



There is one in Unicode (see here ), but it's just a sketched space.

0


source







All Articles