MrLucky Posted April 14, 2006 Posted April 14, 2006 Is there also a function in C# like this PHP function: http://www.php.net/ord The get the charachter with a ASCII value. Quote
Cags Posted April 14, 2006 Posted April 14, 2006 I believe you can get between the two values by simply casting the objects. int myAsciiValue = 97; char myChar = (char)myAsciiValue; myChar = 'a'; myAsciiValue = (int)myChar; Quote Anybody looking for a graduate programmer (Midlands, England)?
Leaders snarfblam Posted April 14, 2006 Leaders Posted April 14, 2006 If that weren't the case, the System.Convert class could also be used. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.