What will be the output of the following C# code conversion?
Posted: Wed Jul 13, 2022 7:56 pm
static void Main(string[] args) { char a = 'A'; string b = "a"; Console.WriteLine(Convert.ToInt32(a)); Console.WriteLine(Convert.ToInt32(Convert.Tochar(b))); Console.ReadLine(); }
a) 1, 97
b) 65, 97
c) 65, 97
d) 97, 1
a) 1, 97
b) 65, 97
c) 65, 97
d) 97, 1