Category: C#

C# 9 VIDEO: Improvements and Features

C# 9 released in November of 2020 and is packed with features to improve your development experience. The new record types of C# 9 greatly simplify creating simple classes and bring first-class support for immutable types. The release also improves the language through additions to the pattern matching syntax, allowing for more flexible matching expressions. […]

LEGACY: Manipulate Threads with System.Threading

Using an older .NET framework? Check out these system.threading tips to directly manipulate threads without the task abstraction. While writing the 7th edition of Essential C# 8.0, I realized that it was time to pull out the content on system.threading- focusing instead on Parallel Extensions (System.Threading.Tasks). Parallel Extensions is generally preferred because it allows you […]

Decoupling – Making Your C# Program More Testable

 How and Why to Implement Decoupling Classes in Your Code Decoupling is a strategy for writing testable code when dealing with hard-to-test classes and it can be an incredibly powerful tool to help you write clean, effective and bug-free code. What Is Decoupling? Decoupling is a coding strategy that involves taking the key parts of […]

Material Design in XAML – How to make sense of the Dialog Host

Material Design In XAML (MDIX) is a beautiful theme library that brings Google’s Material Design to your Windows Presentation Framework (WPF) applications. In this tutorial, we look at the XAML Dialog Host, one of its most powerful controls. XAML Dialog Host provides a simple way to display a dialog with information or prompt the user […]

The ‘Elegant-Innovative-Excellence’ of C#

Why C# should be part of your tooling arsenal   C# (pronounced C Sharp) is a language used in combination with Microsoft’s .NET framework for developing applications. “The open-sourced nature of C# and the framework that comes with it is pretty unique,” Mark Michaelis said during a recent interview on Code Chat. “What really makes […]

5 Steps to Getting Started with Material Design In XAML

Material Design In XAML (MDIX) is a beautiful theme library that brings Google’s Material Design to your Windows Presentation Framework (WPF) applications. In this tutorial, we look at how easy it is to get started and add some beautiful material design to your application. If you have an existing WPF project, you can skip to […]