get ascii value of char c# code example
Example 1: how to work with ascii in c#
string value = "9quali52ty3";
// Convert the string into a byte[].
byte[] asciiBytes = Encoding.ASCII.GetBytes(value);
Example 2: how to get the askii code of a char in c#
int unicode = 65;
char character = (char) unicode;
// character will have an "A" in it.