© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
10 replies
caiosa2339

❔ How to add a list of type of another class in c#?

I'm doing a program where I need to store the a list of the Person class in the class of People. A Person is defined by her name, and age...How do I store a list of Person inside the People class?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ Cant convert a list to list of a class type?
C#CC# / help
4y ago
accessing an instance of a class in another class
C#CC# / help
3y ago
use parameter from a class of type form in another form
C#CC# / help
2y ago