'class' does not implement interface member 'interface member'. 'class member' is static, not public, or has the wrong return type
The compiler did not detect an interface member implementation. A declaration may be present that almost implements the interface member. Check for the following syntax errors in the declaration for the interface member:
The following sample generates CS0536:
namespace x { public interface a { void f(); } public class b : a { public static int f() // CS0536 { } // try, public void f(){} public static void Main() { } } }