Multiple choice technology web technology

alternative of multiple inheritance in c#?

  1. Interface

  2. abstract class

  3. static class

  4. All the above

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

C# uses interfaces as the primary alternative to multiple inheritance. A class can implement multiple interfaces, gaining polymorphic behavior from each, while still inheriting implementation from only one base class. Abstract classes (option B) are single-inherited like regular classes. Static classes (option C) cannot be inherited at all. Therefore, interfaces are the correct alternative.