Issue 487 · Week of May 04, 2026
Feed Jobs Search Platform About Donate
← Back to feed / //dotnet

Overview of C# Null-Coalescing Operators

Read full article Discuss
C# has null-coalescing operators called ?? and ??=. The ?? operator gives the value on the left if it is not null, or the value on the right if the left is null. The ??= operator will set the value on the left if it is null.