C
C#8mo ago
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?
No description
No description
No description
5 Replies
Buddy
Buddy8mo ago
Classes.Console.Classes ??
JakenVeina
JakenVeina8mo ago
.Games does not have a .Name property, because .Games is not a Game, it's a List<Game>?
Paulvv
Paulvv8mo ago
Project is called "Classes.Console". Could think of a name to practice this problem.
Paulvv
Paulvv8mo ago
I found the solution
No description
Paulvv
Paulvv8mo ago
The first try i got confused by someones tutorial
Want results from more Discord servers?
Add your server
More Posts