Multiple choice technology programming languages

Which of these is a value Type?

  1. Arrays

  2. Strings

  3. Enums

  4. None

  5. All the Above

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

In C#, enum is a value type. Conversely, arrays and strings are reference types. Therefore, 'Enums' is the correct option representing a value type.