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