Bradley Wells

Hi, I write C# and .NET tutorials. Follow me @bradwellsb

In this tutorial, you will learn how to use ObservableCollection in .NET MAUI. The ObservableCollection is a collection that provides notifications when items get added, removed, or when the whole list is refreshed. These notifications are useful when you want to update the UI automatically whenever the underlying data changes. ... Read more

In the world of C# programming, one of the essential concepts is initializing the properties of a class. Properties are named members of a class that provide a flexible mechanism to read, write, or compute the values of private fields. In this tutorial, we will explore the C# init operator, ... Read more

Inheritance and polymorphism are two fundamental concepts in object-oriented programming (OOP), especially in C#. These concepts play a critical role in designing and building efficient, reusable, and well-structured code. If you're preparing for a .NET job interview, this is the perfect place to brush up on inheritance and polymorphism. In ... Read more

In C#, the static keyword is used to declare class members that are not tied to a specific instance of the class. Instead, they belong to the class itself. This means that static members can be accessed without creating an instance of the class. In this tutorial, we will discuss ... Read more

In this tutorial, you will learn about records in C#, a reference type introduced in C# 9 and further expanded in C# 10 with the introduction of record structs, a value type version of records. Records are specifically designed to encapsulate data and provide built-in functionality for immutability and value-based ... Read more

Deterministic finalization is a technique that allows you to explicitly release resources held by an object at a known, determined point in time, instead of relying on the garbage collector's nondeterministic finalization process. This tutorial will guide you through the implementation and usage of deterministic finalization in C# using the ... Read more