Tag Archives: implement

Implement interfaces explicitly or implicitly in C#

Suppose you create a class and in the declaration you indicate that it implements one or more interfaces. If you right-click an interface’s name, the dropdown displayed by Visual Studio includes an “Implement Interface” submenu. If you look at the … Continue reading

Posted in interfaces, syntax | Tagged , , , , , , , , , , | Leave a comment

Implement an interface in C#

Before you can implement an interface, you need to know what an interface is. An interface defines properties, methods, and events that an object must provide to satisfy the interface without providing any implementation of those features. If a class … Continue reading

Posted in interfaces, OOP | Tagged , , , , , , , , , , | 1 Comment