Flashcard Details

CSharp

What is the difference between an interface and an abstract class in C#?

An interface defines a contract with no implementation, while an abstract class can contain both abstract and concrete methods. A class can implement multiple interfaces, but it can only inherit from a single abstract class.

2

https://www.geeksforgeeks.org/difference-between-abstract-class-and-interface-in-c-sharp/

3