Duplicar posibles:
c# convert char to intC# ¿Por qué este retorno 49: Convert.ToInt32 ('1')
Esto funciona:
int val = Convert.ToInt32("1");
Pero este doesn' t:
int val = Convert.ToInt32('1'); // returns 49
¿No debería convertirse esto a int real?
Impresionante :) :) :) :) – Aravin