Multiple choice technology programming languages

Which of the below is false about Struct.

  1. Structs are value-type variables

  2. Structs are saved on stack

  3. structs can be inherited.

  4. None of the above.

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

Structs in C# are value types stored on the stack and do not support inheritance (except implicitly inheriting from System.ValueType). Since all options are true, 'None of the above' is correct.