C#C
C#4y ago
Ted Bunny

Abstract List of KeyValuePairs

public abstract List<KeyValuePair<string, int>> inventory;

It says I can't do this with a field, and to try a property instead. Doing that doesn't resolve it.

I've never received this message when declaring an abstract variable. Any suggestions?
Was this page helpful?