Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
In this video, we'll review the solution to the second challenge and introduce our third and final challenge—adding a method overload.
Instructions
3rd Challenge
- Add a method overload for the
Loan()
method that doesn't accept any parameters. - Update the
GetDisplayText()
method to account for when theLoanee
field doesn't have a value.
Addition Assignment Operator (+=)
For more information about the addition assignment operator (+=
) see https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/addition-assignment-operator.
Help
If you get stuck on any of the following topics or simply need a refresher, click on a topic in list below to view the associated video in the C# Objects course.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up