© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Abstract List of KeyValuePairs - C#
C
C#
•
4y ago
•
14 replies
Ted Bunny
Abstract List of KeyValuePairs
public abstract List<KeyValuePair<string, int>> inventory;
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
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
✅ Struggling to use custom comparer with a list of KeyValuePairs
C
C# / help
2y ago
LINQ List A (list of strings) "partial" has any member of list B (list of strings)
C
C# / help
4y ago
Distinct List in List of Lists
C
C# / help
2y ago
✅ Printing abstract classes
C
C# / help
4y ago