What will be the output of the following C# code conversion? [code] static void Main(string[] args) { char a = 'A'; string

Huyền Thu

New member
What will be the output of the following C# code conversion?
Code:
 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.
Code:
65, 97
C.
Code:
65, 97
D. 97, 1
 

Tìm kiếm

Back
Top