Which of the following statements is correct about the C#.NET code

Loading

โœช Choose the correct option.

Which of the following statements is correct about the C#.NET code snippet given below?

int d;
d = Convert.ToInt32( !(30 < 20) );

A. A value 0 will be assigned to d.
B. A value 1 will be assigned to d.
C. A value -1 will be assigned to d.
D. The code reports an error.

Leave a Comment