Home / Programming MCQs / C# MCQs / Question
S
Q. What will be the output of the following C# code conversion?
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(); }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What is the Size of ‘Char’ datatype?
What is the difference between Console.Write() and Console.WriteLine() methods in C#?
Which is the correct C# statement to convert a float value to int explicitly?
Home page in VS.NET is also known as__________.
In the case of access modifiers___________.
In C#, the objects created using new operator are stored in ___.
Discusssion
Login to discuss.