Learn how to override ToString(), overload operators and use indexers in C# classes, featuring examples of addition and subtraction.
Learn the different C# class types with clear examples, common compiler errors, and explanations of abstract, sealed, static, partial, unsafe, and record classes.
Discover the new features in C# 14 - from extension members to the field keyword - and find out whether upgrading your app to .NET 10 is really worth it.
C# 13 has been launched as part of the .NET 9 release and we'll take a look at the new features and how you can start using them today.
Find out what partial classes are in C#, examples of how to use them, the rules that we need to follow and why we use them.
We have a look at a console app and ASP.NET Core app to see if the try, catch and finally statements always run in C# when an exception is thrown.
Collection expressions (also known as collection literals) brings the spread operator to C# allowing for collection types to be joined together.
Primary constructors is a C# 12 feature that allows to add parameters to a class and includes dependency injection support.
SOLID principles in C#, looking at design principles and examples for using object-oriented design (OOD) in your software.