❔ How to get the type that got inheri ?
I got a list of PetProfileCardsGroupModel
Is there a way I can get a List<PetProfileCardModel> from it ?
![](https://utfs.io/f/6e08a43d-ab5c-4a73-9bcd-a19c2f59c248-1nq2cb.png)
3 Replies
it is the
List<PetProfileCardModel>
Stack Overflow
Why not inherit from List?
When planning out my programs, I often start with a chain of thought like so:
A football team is just a list of football players. Therefore, I should represent it with:
var football_team = new ...
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.