Page 1 of 1

What will be the output of the following C# code conversion?

Posted: Wed Jul 13, 2022 7:56 pm
by answerhappygod
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