YoVDO

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

Offered By: LinkedIn Learning

Tags

C# Courses Unit Testing Courses Test-Driven Development Courses LINQ Courses

Course Description

Overview

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

Related Courses

A Practical Introduction to Test-Driven Development
LearnQuest via Coursera
Mastering Agile Development of Software as a Service
UC Berkeley via edX
Test-Driven Development Project: Random Person Generator
LearnQuest via Coursera
Introduction to Cloud Native, DevOps, Agile, and NoSQL
IBM via edX
IBM COBOL Basic Testing and Debugging
IBM via Coursera