© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
5 replies
Paulvv

Call a property from a class that is within a class

I would like to view the "Name" property (in the console) from the class "Game" through the "Computer" class. I can't figure out how it works. Could someone please help me?
image.png
image.png
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Getting a value from an class in a list that is an attribute from another class
C#CC# / help
3y ago
❔ Filling a combo box in a class that is from a form
C#CC# / help
3y ago
❔ ✅ How to call a specific attribute from a getter class to another class
C#CC# / help
3y ago
Mono vm not allowing me to call the constructor on a class that inherits from another class
C#CC# / help
15mo ago