How to get character from unicode code in C#

1 Answer

0 votes
using System;

class Program
{
    static void Main() {
        int code = 589;
        string ch = char.ConvertFromUtf32(code);
        Console.WriteLine(ch);
        
        code = 375;
        ch = char.ConvertFromUtf32(code);
        Console.WriteLine(ch);
    }
}




/*
run:

ɍ
ŷ

*/

 



answered Nov 18, 2021 by avibootz
...