Bilješka
Pristup ovoj stranici zahtijeva provjeru vjerodostojnosti. Možete pokušati da se prijavite ili promijenite direktorije.
Pristup ovoj stranici zahtijeva provjeru vjerodostojnosti. Možete pokušati promijeniti direktorije.
'name' in explicit interface declaration is not an interface
An attempt was made to explicitly declare an interface, but an interface was not specified.
The following sample generates CS0538:
// CS0538.cs
interface MyIFace
{
void F();
}
public class MyClass
{
public void G()
{
}
}
class C: MyIFace
{
void MyIFace.F()
{
}
void MyClass.G() // CS0538, MyClass not an interface
{
}
}
Sarađujte s nama na GitHub-u
Izvor za ovaj sadržaj može se naći na usluzi GitHub, gdje takođe možete da kreirate i pregledate probleme i povučete zahtjeve. Za više informacija pogledajte naš vodič za saradnike.