Async Streams in C# 8 – IAsyncEnumerable with Cancellation Token, Configure Await

Reading Time: < 1 minute Async Streams is the new feature in C# 8.0 which provides async support for handling streams or IEnumerable data. In this session we cover all the aspects of Async Streams (IAsyncEnumerable) including how to use ConfigureAwait and how to use CancellationToken as well.

Cancellation token can be a great way to manage async programming in dotnet core and C# but with Async Streams it can be a bit difficult and at times if not used properly can give errors. We shall be discussing briefly everything about AsyncStreams. IAsyncEnumerable also has options and support for CancellationToken as well as ConfigureAwait.

C# Switch Expressions – Hands-on Smart Programming Lab

Reading Time: < 1 minute Remove all your nested and complex if-else if – else logic with switch expressions. With concise statement, better readability, its one of the major change brought in core programming concepts since school days. in addition to improve better chances at interview with more readable and better understandable code, this also improves overall efficiency and productivity.