chr() equal function in c#?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • balakumar

    #1

    chr() equal function in c#?

    whats that equal function vb chr() to c#?

    Thanks
    balakumar
  • Tom Shelton

    #2
    Re: chr() equal function in c#?

    In article <03ce01c39dab$4 d7cd160$a601280 a@phx.gbl>, balakumar wrote:[color=blue]
    > whats that equal function vb chr() to c#?
    >
    > Thanks
    > balakumar[/color]

    char c = (char) 65;
    Console.WriteLi ne(c);

    --
    Tom Shelton
    MVP [Visual Basic]

    Comment

    • Brian L. Gorman

      #3
      Re: chr() equal function in c#?

      In order to get convert a number to a character in c# you need use the
      convert:

      Convert.ToChar( myAsciiValue);

      Good luck :)

      Brian L. Gorman
      --
      "balakumar" <anonymous@disc ussions.microso ft.com> wrote in message
      news:03ce01c39d ab$4d7cd160$a60 1280a@phx.gbl.. .[color=blue]
      > whats that equal function vb chr() to c#?
      >
      > Thanks
      > balakumar[/color]


      Comment

      Working...