byte-sized chunks of .NET
Tuesday, January 17, 2023
Checking for Overflow in C#
By default, integral values (such as int, uint, and long) do not throw an exception when they overflow. Instead, they "wrap" ...
Monday, January 16, 2023
Full-Day Workshop - Asynchronous & Parallel Programming in C# (March 2023)
I'll be giving a full day workshop (with hands-on labs) at Visual Studio LIVE!, Las Vegas on March 19th, 2023. Now's your chance ...
Wednesday, July 20, 2022
Null Coalescing Operators in C# - ?? and ??=
Over the last few articles, we have looked at nullability in C#. When we have nullability enabled, we need to respond to warnings that ...
Tuesday, July 19, 2022
Null Forgiving Operator in C# - !
Over the last couple articles, we have been looking at nullability in C#. When we have nullability enabled, we need to respond to warni...
Monday, July 18, 2022
Null Conditional Operators in C# - ?. and ?
In the last article, we took at look at Nullability in C# - What It Is and What It Is Not . When we have nullability enabled, we need t...
Friday, July 15, 2022
Nullability in C# - What It Is and What It Is Not
Starting with .NET 6, new projects have nullable reference types enabled by default. It is easy to get confused on exactly what that me...
View web version