Get character by its number

B

Bishoy George

Hi All,
When I hold right alt and write 3 numbers from the right of keyboard, I get
its character like £ from 412.

By which class in .net can I give the number and the class method give me
its corresponding character?

Thank you.
Bishoy
 
E

Eliyahu Goldin

You get a string. Convert it first to an integer, and then to character like
this:

string myString = "412";
int myInt = System.Convert.ToInt32(myString);
Char myChar = ChrW(myInt);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top