Skip to content

The Dummy Programmer

Stories of daily programming

  • Home
  • The Dummy Programmer Robot
    • Overview
    • Version history & downloads
    • Tutorials
      • TDP Robot – The basics
      • A simple SQL Server backup solution
      • A simple SQL Server backup solution – A next step
  • My other dummy projects
  • Games
    • Space Y: An Asteroids clone
  • Services
    • What’s my user agent
    • What’s my IP address
  • About
  • Toggle search form

Category: TPL

Working with C# async / await keywords (part 3 of 3)

In previous posts we talked about how use the Task object, async / await keywords and how to cancel a running task. In this last post I want to talk about another important point regarding task management: exception handling. We will resume the example program created in the first post, which you can download here….

Read More “Working with C# async / await keywords (part 3 of 3)” »

C#

Working with C# async / await keywords (part 2 of 3)

In the previous post we saw some use cases of the Task object and the async / await keywords. We saw how we can run two long tasks, one dependent on the other, without blocking the main thread and the user interface. In our example we used an async event handler, which is marked with…

Read More “Working with C# async / await keywords (part 2 of 3)” »

C#

Working with C# async / await keywords (part 1 of 3)

Introduced with C# 5.0, the async / await pattern was born with the intention of simplifying asynchronous programming. You can find these keywords in many programming language, but in this post we will specifically talk about C#’s implementation. Let’s start by creating a simple Windows Forms applications to do some tests (click here to download…

Read More “Working with C# async / await keywords (part 1 of 3)” »

C#

Copyright © 2023 The Dummy Programmer | Privacy Policy | Terms of use |

Powered by PressBook Masonry Dark