Skip to content
ballmüllersolutions logo Send an email Call us

Lesson 42 of 49about 180 minutes

Module 1.9 · Asynchronous code

async and await

What you learn in this lesson

  • explain why a program shouldn’t stand still while it waits for a file or the network
  • write methods with Task and Task<T> and pick up their result with await
  • start two slow tasks one after another and at the same time, and measure the difference
  • catch errors in asynchronous code with try and catch
  • explain why asynchronous code stays asynchronous all the way up and why .Result and .Wait() are off limits
  • make loading and saving in the Kladde asynchronous

This lesson belongs to course K1

You will see this lesson's text and video once you have bought the course. The goals above show what you learn here.

€149.00

incl. VAT, one-time payment

Access to all of the course's lessons with their exercises, solutions and videos on this site, for 24 months from the purchase. A self-study course: no tutoring, no exams or grading by us, and no certificate.

Sign in and buy

To course K1

To the overview: K1 Getting started: programming with C#