• Home
  • Which of the following is correct about null coalescing operator in C#?
Question 1:
Which of the following is correct about null coalescing operator in C#?
A. The null coalescing operator is used with the nullable value types and reference types
B. It is used for converting an operand to the type of another nullable (or not) value type operand, where an implicit conversion is possible
C. If the value of the first operand is null, then the operator returns the value of the second operand, otherwise it returns the value of the first operand
D. All of the above

These questions are from this test. Would you like to take a practice test?

C Sharp Quiz 4 | Englishfreetest.com