Mass
Explore posts from servers✅ Inconsistent accessibility: property type is less accessible than property.
oh wait reading up on dependency injection, I do think I've used this before (at the very least in other languages), at least if it's just about passing through dependencies as a parameter in a constructor, I feel like that just happens naturally in OOP
45 replies
✅ Inconsistent accessibility: property type is less accessible than property.
main problem I'm immediately running into trying to do that is that I actually have 3 different lists (I only mentioned one because the number was irrelevant to my problem)
they have different custom objects (though they all inherit from the same abstract base class)
but I'm not entirely sure how I'd pass all 3 lists as a single parameter in C#
45 replies