I am new to c#.
I got an interface that I need to implement, including this line in the interface:
public abstract IEnumerable<CardData> AllCards { get; }
In my implementation I have this code:
public IEnumerable<CardData> AllCards {
get { return cards as IEnumerable<CardData>; }
}
but I get an error saying:
error CS0534: 'CardDatabaseImpl' does not implement inherited abstract member 'CardDatabase.AllCards.get'
referring to this line in the code.
Any advice?