Multiple choice technology programming languages

Which of the following is NOT a value type?

  1. Struct

  2. Delegate

  3. string

  4. Enumeration

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

In C#, value types are primitive types that store data directly. Struct, Delegate, and Enumeration are all value types. string is a reference type - it's an object that stores a reference to the actual string data on the heap, not the data itself.