Multiple choice technology programming languages

Valuetypes cannot be assigned with NULL Value?

  1. TRUE.

  2. FALSE

  3. Cant say.

  4. Depends on the valuetype used.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Value types in C# cannot normally represent null. However, the introduction of Nullable value types (e.g., int? or Nullable) allows them to hold null values. Because value types can be assigned null under these conditions, the statement is false.