Multiple choice technology operating systems

What kind of inheritance does C# support

  1. Multiple inheritance from other classes

  2. Single inheritance from other classes

  3. No inheritance

  4. Only inherit interfaces

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

C# allows a class to inherit from only one base class (single inheritance), but it can implement multiple interfaces. This design avoids the diamond problem and complexity of multiple class inheritance while maintaining flexibility through interface implementation.