Generic Math Support in C# 11

What is Generic Math support in C# 11, and how do we take advantage of it? Let’s dig in and find out! (part 3 of 3)

  Apr 5, 2023 ·  10 min

Overloading arithmetic, equality, and comparison operators in C#

What’s it mean to overload operators in C#? And what’s that have to do with Generic Math in C# 11? Let’s find out! (part 2 of 3)

  Apr 1, 2023 ·  7 min

What is a static abstract interface method in C#?

What are static abstract members (new in C# 11), what can we do with them, and how are they related to Generic Math? (part 1 of 3)

  Mar 31, 2023 ·  8 min

What is the point of points?

Points aren’t hours, but they sorta represent hours. Or do they? 🤔 If you’re as perplexed as I used to be, here’s a few thoughts about points.

  Mar 22, 2023 ·  5 min

Why doesn't VS 2022 show my WinForms UI at design time?

Someone at work asked about whether we’d be able to use VS 2022 to work on our main WinForms app. It works just fine in VS 2019, so it should work in VS 2022, right? Except it doesn’t. What we get is white screens of brokenness whenever we try to open a Form in the designer. But why?

  Jan 14, 2023 ·  9 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

Why do I need to install an extension just to copy/paste?

I was creating a document in Office365 the other day - something I’ve done a hundred times - but when I tried to paste with their custom right-click menu I was greeted with a popup telling me to download a browser addon. Well, that’s weird.

  Dec 31, 2022 ·  7 min

Converting a BackgroundWorker to a Task with TaskCompletionSource

Sometimes the safer way to “update” old code is to leave it be and paint over it with a newer construct. Let’s see how to modernize a BackgroundWorker using Tasks and TaskCompletionSource.

  Dec 6, 2022 ·  9 min

My experience migrating to MV3

I migrated my addons to MV3, and learned that version numbers increase, DRY is overrated, and 3 and 15 are probably important but I have no idea why. What I didn’t learn is how MV3 made my addon better.

  Nov 19, 2022 ·  5 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