How can I get the ascii character of a given ascii code.
e.g. I\'m looking for a method that given the code 65 would return \"A\".
Thanks
Do you mean "A" (a string) or 'A' (a char)?
string
char
int unicode = 65; char character = (char) unicode; string text = character.ToString();
Note that I've referred to Unicode rather than ASCII as that's C#'s native character encoding; essentially each char is a UTF-16 code point.