C# Objects
Treehouse
Course Summary
In this course we'll build on what you learned in C# Basics. You'll learn about Object Oriented Programming (OOP). We'll use OOP to write the code for a tower defense game. After completing this course, you'll have learned most of the syntax of the C# programming language.
-
+
Course Description
About this Course In this course we'll build on what you learned in C# Basics. You'll learn about Object Oriented Programming (OOP). We'll use OOP to write the code for a tower defense game. After completing this course, you'll have learned most of the syntax of the C# programming language. What you'll learn
- Core Principles of Object Oriented Programming
- Classes and Objects
- Method, Properties, and Fields
- For Loops
- Arrays
- Exceptions
About the Teacher
Jeremy loves to solve hard problems - especially when he can write a program to do it for him. Teaching is a passion for him. He also enjoys being entertained by his adorable kids and fly fishing.
-
+
Course Syllabus
Object-Oriented Programming
We'll discuss some of the basics concepts of object oriented programming and exactly what it means to be "object oriented". We'll learn the differences between objects and classes. Then we'll see how to create classes and objects in C#. 13 steps- Welcome 1:30
- Object-Oriented Programming 2:29
- Object-Oriented Programming 5 questions
- Types 3:14
- Instantiation 6:28
- Types and Objects 5 questions
- Instantiation 2 objectives
- Fields 6:18
- Fields 1 objective
- Object Initialization 5:14
- Initialization 3 objectives
- Practice Writing Classes 3:40
- Wrap-up 4 questions
Methods
We'll learn about the role that methods play in OO. 9 stepsInheritance
We'll learn about one of the four core principles of OO: inheritance. We'll also learn how inheritance is used to create and handle custom exceptions. 12 stepsEncapsulation and Arrays
We'll learn about another core principle of OO: encapsulation. We'll also learn all about arrays and put them to use in Treehouse Defense. 10 stepsEncapsulation with Properties
We'll learn about properties in C# and use them to provide good encapsulation in Treehouse Defense. 16 stepsLoops and Final Touches
We'll finish Treehouse Defense by coding up the logic of the game. In the process we'll learn about more types of loops, constants, and static members. 16 steps