I am getting this error while creating a public method on a class for explicitly implementing the interface. I have a workaround: by removing the e
You cannot use access modifiers when implementing interface explicitly. Member will be binded to the interface anyway, so it is no need to specify access modifier, because all interface members are always public, also all explicitly implemented members can be accessed only through member of interface type (see statichippo's answer for example).