Adding deconstructors to C# types

We can deconstruct tuples in C#, but does it work with other types? And assuming it does (spoiler - it does), is it worth bothering with?

  Jun 15, 2023 ·  5 min

Using Tuples and deconstruction to return multiple values in C#

A big challenge with any language is trying to group and organize things sensibly, and returning multiple values is no exception. Let’s check out Tuples and deconstruction, and see how they can help us out.

  Jan 5, 2023 ·  4 min

Named arguments in C#

Named arguments in C#.. they’ve been around a long time, but does anyone use them? Let’s check out another feature that helps tame wild code.

  Oct 12, 2022 ·  6 min

Local functions in C# (aka nested methods)

C# 7 introduced a new tool for the belt - local functions. Let’s take a look at what they are, how to use them, and why we might not want to.

  Oct 8, 2022 ·  6 min