Hi,
I'm trying to learn C# from the book Head First C#.
I have a question on the design suggested for Lab 1 - Day at the Races.
It is suggested that we use a Guy, Greyhound and a Bet class where each Guy will have his own Bet class to place the bet and receive payout.
1. I am finding it difficult to understand why exactly we need to have a Bet class reference inside the Guy class. Can we have something like a BettingParlor class which keeps track of who has placed the bet and does payout once the race is over?
2. Why do we need to have a reference to the radiobutton and the label from inside the Guy class? Can't we modify the radiobutton and the label class from the main form itself?
In general, is there any way to decide what classes we need to have for a given problem?
Could someone kindly help out with the above questions?











