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
What will be the output of the following C# code conversion?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following C# code conversion?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!