Microsoft C# Intermediate: Using Interfaces, Events, and Exceptions


Overview/Description
This course, Microsoft C# Intermediate: Using Interfaces, Events, and Exceptions, presents intermediate C# techniques, including using interfaces, delegates, and events, and creating exception handlers.

Target Audience
You should have a basic understanding of the essential components of Microsoft C#, including writing and compiling C# code.

Expected Duration
This course, including the practice exercises, will take up to 4 hours to complete.

Objectives:

Using Interfaces

  • Recognize indexers
  • Recognize methods
  • Define interfaces and their purpose
  • Declare interfaces
  • Recognize properties
  • Implement interfaces
  • Query a class for interface implementation with the is or as operators
  • Combine multiple interfaces
  • Using Delegates and Events

  • Define delegates
  • Declare and create delegates
  • Combine and subtract delegates to change the behavior of delegate methods
  • Construct events and event handlers
  • Examine an event handling program
  • Creating Exception Handlers

  • Define exceptions
  • Create Try-Catch statements to handle exceptions
  • Create Try-Catch-Finally statements to handle exceptions
  • Identify the types of caller functions
  • Recognize user-defined exception classes

  • Course Number: MDEV0203