I made a lighter version of C# Interfaces & Inheritance in Action based on the movies: Interstellar and Contact.
The interface has two items that have to be implemented.
- It has to star Matthew McConaughey
- It has to have a wormhole
|MatthewMcConaughey()||Has to star MatthewConaughey|
|Wormhole()||Has to have a worm hole|
These two movies honor the interface ("contract"), but they also have their own methods
|1 extra method that is not in IGoodSpaceMovie||BlackHole()|
|1 extra method that is not in IGoodSpaceMovie||ExpensiveMachine()|
Level up every day