Interface (C#)

An interface is a contract that lists method and property signatures a class must implement, without providing the code. It defines what a type can do, not…