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. Advertising

  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. Advertising

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. George2
    Replies:
    2
    Views:
    373
    James Kanze
    Jan 25, 2008
  2. thunk
    Replies:
    1
    Views:
    303
    thunk
    Mar 30, 2010
  3. thunk
    Replies:
    0
    Views:
    469
    thunk
    Apr 1, 2010
  4. thunk
    Replies:
    14
    Views:
    612
    thunk
    Apr 3, 2010
  5. Raymundo
    Replies:
    5
    Views:
    137
    Keith Thompson
    Aug 31, 2009
Loading...

Share This Page