How is the GameResult.GameDate property storing all of the dates?
The while loop will be sending the date of each line through the TryParse which then feeds the GameResult.GameDate property. But the propery isnt setup as an array or list. Wont the value sent to it be whiped with each run through the while loop?
Tyler B5,771 Points
You are correct, it will be wiped out each time. This code is still a work in progress, I believe in a later video we will be adding each parsed
GameResult value to a list or at the very least printed to screen towards the end of each loop.