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?
5 Replies
Classes.Console.Classes ??
.Games
does not have a .Name
property, because .Games
is not a Game
, it's a List<Game>?
Project is called "Classes.Console". Could think of a name to practice this problem.
I found the solution
The first try i got confused by someones tutorial