C# Error
CS0754 – A partial method may not explicitly implement an interface method
Reason for the Error & Solution
A partial method may not explicitly implement an interface method.
A partial method cannot be declared as an explicit implementation of a method defined in an interface.
To correct this error
- Remove the explicit interface qualification from the method declaration.
Example
The following code generates CS0754:
// cs0754.cs  
using System;  
  
    public interface IF  
    {  
        void Part();  
    }  
  
    public partial class C : IF  
    {  
        partial void IF.Part(); //CS0754  
        public static int Main()  
        {  
            return 1;  
        }  
    }  
 
															 
								 
								