Blog LogoBlog Logo

Tag: C# 7

All tags

Creating a Throttle with an ActionBlock - Addendum (Cancelling)

In my previous post I described how to create a throttle with an action block so you wouldn't have too many tasks running simultaneously. But what if you want...

— 17 Jul 2018

Creating a Throttle with ActionBlock

We have an application that needs to perform a repetitive task on many external services and record then aggregate the results. As the system has grown the...

— 16 Jul 2018

Join Null Check with Assignment

I recently wrote some code and asked ReSharper to add a null check for me, which it did. Then it suggested that I could simplify the null check by joining it...

— 16 Jul 2017