Select Page
Lesson 19: Encapsulation

Lesson 19: Encapsulation

Earlier in this tutorial, you learned about two of the important principles of object-oriented programming, Inheritance, and Polymorphism. Now that you’ve seen much of the syntax of C#, I’ll show you how C# supports the another of the object-oriented...
Lesson 16: Using Attributes

Lesson 16: Using Attributes

This lesson explains how to use C# attributes. Our objectives are as follows: Understand what attributes are and why they’re used Apply various attributes with multiple or no parameters Use assembly, type member, and type level attributes Why Attributes?...
Lesson 15: Introduction to Exception Handling

Lesson 15: Introduction to Exception Handling

This lesson teaches how to handle exceptions in your C# programs. Our objectives are as follows: Learn what an exception is Implement a routine with a try/catch block Release resources in a finally block Exceptions Exceptions are unforeseen errors that happen in your...
Lesson 14: Introduction to Delegates and Events

Lesson 14: Introduction to Delegates and Events

This lesson introduces delegates and events. Our objectives are as follows: Understand What a Delegate Is Understand What an Event Is Implement Delegates Fire Events Delegates During previous lessons, you learned how to implement reference types using language...
Lesson 10: Properties

Lesson 10: Properties

This lesson teaches C# Properties. Our objectives are as follows: Understand What Properties Are For. Implement a Property. Create a Read-Only Property. Create a Write-Only Property. Create an auto-implemented property. Overview of Properties Properties provide the...
Lesson 9: Polymorphism

Lesson 9: Polymorphism

This lesson teaches about Polymorphism in C#. Our objectives are as follows: Learn What Polymorphism Is. Implement a Virtual Method. Override a Virtual Method. Use Polymorphism in a Program. Another primary concept of object-oriented programming is Polymorphism. It...