Junior OOP

What is an interface?

  • An interface is a contract that defines method signatures, properties, events, or

indexers without providing implementation.

  • Classes or structs that implement the interface must provide the implementation.

More from C# Programming Tutorial

All questions for this course