Improve Readability of Your Code with C# Collection Expressions
C# 12 introduced collection expressions that allow writing more concise and readable code when working with collections
Explore the recent C# blog posts
C# 12 introduced collection expressions that allow writing more concise and readable code when working with collections
Discover how to write elegant code in C# by using Pattern Matching. This guide provides shows how Pattern Matching can simplify your code and improve readability
Learn what C# attributes are, how to set attribute properties, and how to configure where attributes can be applied
Discover how to write elegant code in C# by using switch expressions. This guide provides shows how switch expressions can simplify your code and improve readability. Learn through practical examples and start writing more elegant and maintainable code today.
Exception handling allows to gracefully manage errors, ensuring applications remain stable and user-friendly under unforeseen circumstances. This guide provides a comprehensive look at exception handling in C#, covering everything from basic try/catch blocks to throwing custom exceptions.
Primary constructors introduced in .NET and C# 12, offer a much more concise way to assign class properties. This blog post will explain all the aspects of primary constructors, their nuances and difference when in classes and records.
C# 9.0 introduced init only properties. The init only property can be assigned only during object creation and can't be changed further. This enforces immutability. Required properties were introduced in C# 11 which is a great addition to init only properties. Required ensures that init only properties are assigned during objection creation, as these properties can't be change further
C# 9.0 introduced a new feature called records, they offer immutability and equality comparison out of the box. Learn how to use records, what features they offer and reveal the use cases when records can be used instead of classes
Join my community of 1800+ developers and architects.
Each week you will get 2 practical tips with best practises and architecture advice.