Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

C# Essential Training: 2 Flow Control, Arrays, and Exception Handling

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn about generics in C#, find out how to work with collections, handle exceptions, use async and await for asynchronous programming, and more.

Syllabus

Introduction
  • Essentials deep dive
  • What you should know
  • CoderPad tour
1. Generics
  • Understanding generics
  • Working with generics
  • Defining generic types and methods
  • Generic constraints
  • Solution: Generic type with constraints
2. Working with Collections
  • Understanding collection types in the BCL
  • Choosing the right collection type
  • Working with collections
  • Working with keyed collections
  • Understanding concurrent collections
  • Solution: Choose the right collection
3. Exception Handling
  • Basics of try-catch-finally
  • Exception filtering by type with catch
  • Exception filtering with when
  • Throwing and rethrowing exceptions
  • Creating custom exceptions
  • Solution: Multiple exception types
4. Programming Threads with async and await
  • Threading basics
  • Basics of using async and await
  • Task management
  • Handling errors when using await
  • Solution: Task management
5. Delegates and Events
  • Understanding delegates
  • Understanding events
  • Common delegates with Action and Func
  • Understanding lambda expressions
  • Expressions as delegates
  • Other uses for expressions
  • Solution: Delegate using Func
6. Extension Methods
  • The case for extension methods
  • Writing an extension method
  • Using an extension method
  • Common extension methods on collections
  • Solution: Extension method
7. Language Integrated Query (LINQ)
  • Understand the purpose of LINQ
  • Querying collections with LINQ
  • Filtering and ordering queries
  • Other sources for LINQ
  • Solution: LINQ query to filter and sort
Conclusion
  • Build something and continue learning

Taught by

Bruce Van Horn

Reviews

4.6 rating at LinkedIn Learning based on 292 ratings

Start your review of C# Essential Training: 2 Flow Control, Arrays, and Exception Handling

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.