how can compare the the character by ascii value ?

example
if(input.getkey(keycode.A) == #65)

void Update () {
if (Input.inputString != “”)
{
int asciiCode = System.Convert.ToInt32(Input.inputString[0]);
Debug.Log(asciiCode);
}
}