Introduction

Threading enables your C# application to do more than one operation at a time. Simply put, you can allow a user to input their personal information and monitor it while doing a background process. As an example, in strategy games, a character might be fetching some wood from a forest. At the same time, another one could be building a wall and another shooting at the enemy. Let's have a look at how threading works inside a .NET Standard 2.0 library.

Get .NET Standard 2.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.