Select Page
C# If Statement: Control Selection in Lesson 03

C# If Statement: Control Selection in Lesson 03

In the last couple of lessons, every program you saw contained a limited amount of sequential steps and then stopped. There were no decisions you could make with the input, and the only constraint was to follow straight through to the end. The information in this...
C# Interface: What You Need to Know in Lesson 13

C# Interface: What You Need to Know in Lesson 13

This lesson teaches C# Interfaces. Our objectives are as follows: Understand the Purpose of Interfaces. Define an Interface. Use an Interface. Implement Interface Inheritance. An interface looks like a class but has no implementation. The only thing it contains is...
C# Enum: Learning the Essentials in Lesson 17

C# Enum: Learning the Essentials in Lesson 17

This lesson explains how to use C# enum. Our objectives are as follows: Understand what an enum is. Be able to create new enum types. Learn how to use enums. Gain familiarity with System.Enum type methods. Enums Defined Enums are strongly typed constants. They are...
Lesson 23: Working with Nullable Types

Lesson 23: Working with Nullable Types

Working with value types and data can sometimes be challenging because a value type doesn’t normally hold a null value. This lesson shows you how to overcome this limitation with C# nullable types. Here’s what you’ll learn. Understand the problem...
Lesson 21: Anonymous Methods

Lesson 21: Anonymous Methods

In Lesson 14: Introduction to Delegates, you learned about delegates and how they enable you to connect handlers to events. For C# v2.0, there is a new language feature, called anonymous methods, that are similar to delegates, but require less code. While you learn...