dotnet falcon

Blogging about .NET and software development - from my bird's eye view

C#

Default interface implementation in C# 8

Default interface implementation in C# 8

Jun 12, 2019
A while back the preview version of the last big feature of C# 8 came out: default interface implementation. To be honest, I'm not really a fan of this new option and I have been pretty busy, so I didn't really have the time to check
C# 8.0 in Visual Studio 2019: what's new

C# 8.0 in Visual Studio 2019: what's new

Apr 6, 2019
This week VS 2019 finally came out and I was going to write a very enthusiastic and very long post about the new language features of C# 8 that I was hoping would also premier with the new IDE. Well, I was wrong on all counts: no new language version,
Countdown to C# 8: Range and Index

Countdown to C# 8: Range and Index

Mar 18, 2019
In my previos post, I discussed one of the new features of C# 8: non-nullable reference types. That feature has been out for a while, so I think most of what can be said has already been said. But this time, I'm taking a look at something even
Memento design pattern done (almost) right

Memento design pattern done (almost) right

Nov 13, 2018
I regularly teach courses on basic object-oriented design patterns. Over the years I have come to realize that not every pattern is equally useful or equally well-thought out. One of the most common examples of patterns that have become more like anti-patterns over the years is the Singleton pattern. But
What's new in C# 7.3?

What's new in C# 7.3?

May 14, 2018
C# 7.3 came out not long ago. I just had the time to do the update, so I thought I would do a post on it. There are a lot of other posts around about the same topic, but whatever. At least I can present this from my point
Throwback Thursday: Typed SQL reader

Throwback Thursday: Typed SQL reader

Apr 19, 2018
I've found an old HDD of mine and I got curious: what's on it? I had an old 3,5" HDD to USB adapter lying around and to my surprise, it was still working :) So I put the HDD in it, connected it to my
Danger Zone: The dark side of C# 7 ref return

Danger Zone: The dark side of C# 7 ref return

Apr 8, 2018
C# 7.0 introduced the new feature of ref return and ref locals. I have to say, I wasn't sure about the actual usefulness of the feature, but with the recent additions of reference semantics with value types in C# 7.2 I do see how they can
Iterating through dictionaries the better way

Iterating through dictionaries the better way

Mar 24, 2018
Using the right collection type at the right place is a challenging task. In my experience, most people just use List<T or Dictionary<TKey,TValue> most of the time, without thinking about other possibilities. Now that's not to say that these two are not