C# Objects

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

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#.

Methods

We'll learn about the role that methods play in OO.

Inheritance

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.

Encapsulation 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.

Encapsulation with Properties

We'll learn about properties in C# and use them to provide good encapsulation in Treehouse Defense.

Loops 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.

results matching ""

    No results matching ""