Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interface Implementation Problem
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Interface Implementation Problem
Divers
Thread ID:
01470728
Message ID:
01470728
Vues:
89
I changed the scope of a method from public to protected, and now I get this:
Chess.PieceBase' does not implement interface member 'Chess.IPiece.DetermineTargets()'. 'Chess.PieceBase.DetermineTargets()
cannot implement an interface member because it is not public.	C:\Projects\Chess\Chess\Pieces\PieceBase.cs
Why does a method defined in an interface need to be public?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform