Implicit Implementation

When you have one interface and one class this is the most common type of implementation
The interface method is implemented by creating a method that has the same signature and return type.

public interface IMyInterface1 
{
   void string MyMethod1();
{
public class MyClass1 : IMyInterface1
{
   public void MyMethod1()
   {
   }
}


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext