Multiple choice

A structure in C# can be derived from one or more

  1. classes

  2. interfaces

  3. both (1) and (2)

  4. none of these

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

In C#, structures (structs) cannot inherit from classes but can implement one or more interfaces. Structs implicitly inherit from System.ValueType and are sealed by default. Implementing interfaces allows structs to provide polymorphic behavior without inheritance.