Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed C# Objects!
You have completed C# Objects!
Preview
Instantiation is the process of creating an object from a class.
- Click on the Downloads tab to download all the code written in each video of this course.
- Common C# Naming Conventions
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
that might exist in the real world.
0:00
Take a tower defense game for example.
0:01
There are lots of tower
defense games out there.
0:04
They all have a few
things in common though.
0:07
The player places towers on a map,
invaders move down a path and
0:09
the towers shoot at them as they pass by.
0:13
The player wins if the towers
destroy the invaders before they
0:16
can reach the end of the path.
0:20
In order to write this game,
one of the first things we need to do is
0:22
decide what types of objects
the game should contain.
0:26
In other words, we need to determine
what classes we need to code up.
0:29
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