Category Archives: C# 12

Mastering C# – Pattern Matching

Microsoft has a wonderful tutorial on pattern matching, in which you model a lock (to raise or lower a ship when there would otherwise be a waterfall). They model the two doors and the water level. While their example is … Continue reading

Posted in C# 12, Mini-Tutorial, Programming | Leave a comment

Modern C# – Part 1

This short post will kick off a series covering some of the new features in C#. One small but much requested feature is the ability to use any kind of collection for params. Previously you had to pass in an … Continue reading

Posted in C#, C# 12, Essentials | Leave a comment