Get character by its number

Discussion in 'ASP .Net' started by Bishoy George, Nov 5, 2006.

  1. 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
     
    Bishoy George, Nov 5, 2006
    #1
    1. Advertisements

  2. 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);

    --
    Eliyahu Goldin,
    Software Developer & Consultant
    Microsoft MVP [ASP.NET]


    "Bishoy George" <> wrote in message
    news:...
    > 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
    >
     
    Eliyahu Goldin, Nov 5, 2006
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Apple
    Replies:
    3
    Views:
    455
    Apple
    Aug 1, 2005
  2. Jekyll
    Replies:
    2
    Views:
    556
    Victor Bazarov
    Apr 24, 2007
  3. Horacius ReX
    Replies:
    11
    Views:
    572
  4. George2
    Replies:
    2
    Views:
    605
    James Kanze
    Jan 25, 2008
  5. thunk
    Replies:
    1
    Views:
    597
    thunk
    Mar 30, 2010
  6. thunk
    Replies:
    0
    Views:
    756
    thunk
    Apr 1, 2010
  7. thunk
    Replies:
    14
    Views:
    920
    thunk
    Apr 3, 2010
  8. Raymundo
    Replies:
    5
    Views:
    310
    Keith Thompson
    Aug 31, 2009
Loading...