Q220
What will be the output of the following C# code? static void Main(string[] args) int X = 0; if (Convert.ToBoolean(X = 0)) Console.WriteLine("It is zero"); else Console.WriteLine("It is not zero"); Console.ReadLine();
A.
It is zero
B.
It is not zero
AnswerC.
Infinite loop
D.
None of the mentioned
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board