Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interface Implementation Problem
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Interface Implementation Problem
Miscellaneous
Thread ID:
01470728
Message ID:
01470728
Views:
87
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
Next
Reply
Map
View

Click here to load this message in the networking platform