Modern C# gives us advanced nullability checking. Let’s take a look at C# nullability and the !, ?, ??, and ??= operators that support it.
CSharp
-
-
Let’s take a look at Polyglot Notebooks and explore how we can use them to write C# code in an interactive and sharable notebook format.
-
Dotnet is wonderful, but it’s 20+ years old. C# continues to grow and this causes learning issues. Here’s a set of settings that I believe leads to a more beginner-friendly dotnet development experience.
-
Expression-bodied members in C# can be complex and confusing. Lets talk about the use of fat arrows to declare simple methods and properties and its impact on code and developers.
-
New and old ways of creating your own exceptions in dotnet with C# 11 and .NET 7
-
Most of the new features in C# 11 are incremental language improvements. However, one of these features stuck me immediately as something we don’t need – and also really need to do more.
-
The C# 11 required keyword lets you reduce constructor boiler plate code and ensure that new objects have required property members set when using inline initializers.
-
In this article we’ll explore the top 10 mistakes I see new and seasoned developers make with exception management in dotnet source code. These principles should be valid for all dotnet languages, but examples will be provided in C#.
-
The C# nameof expression is not going to revolutionize the way you write code, but it is likely to improve the maintainability and accuracy of the code – at least a little bit.
-
In this article we’ll explore what generics are in C# and how implementing your own generic types and generic methods in C# can help level up your coding ability.