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 first challenge and introduce our second challenge—instantiating instances of the classes that we created in the first challenge.
Instructions
2nd Challenge
- In the Program.cs file
Main()
method, use thenew
keyword to create at least one instance of each of your media type classes. - For each of the objects that you create, set each field to an appropriate value.
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