What is the result of the expression 10 % 3 in C#?
A. 0
B. 1
C. 10
D. None of the above
Answer: Option B
A. 0
B. 1
C. 10
D. None of the above
Answer: Option B
What is the correct syntax to declare a variable in C#?
A. num = int;
B. var num;
C. num int;
D. int num;
What is the purpose of the 'var' keyword in C#?
A. Declares a constant
B. Converts a variable to string
C. Implicitly declares a variable
D. Defines a method
Join The Discussion