using System; public class Test { public static void Main() { char a = 'c'; int answer = (int)a;//char to int convertion Console.WriteLine(answer); } }