Grant Winney
  • About
  • Code
  • Questions
  • Tools of the Trade

C# 7  

Adding deconstructors to C# types

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
Using Tuples and deconstruction to return multiple values in C#

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 4, 2023
Local functions in C# (aka nested methods)

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
Send me new posts: *

  • Connect
  • Privacy
  • License
  • Cross-Posting
Grant Winney © 2025. Powered by Ghost