84 results
Open links in new tab
  1. ?? and ??= operators - null-coalescing operators - C# reference

    Jan 24, 2026 · The `??` and `??=` operators are the C# null-coalescing operators. They return the value of the left-hand operand if it …

  2. Null operators in C# - C# | Microsoft Learn

    May 11, 2026 · Null-coalescing ?? The ?? operator returns its left-hand operand when it's non-null, and its right-hand operand when …

  3. Null coalescing operator - Wikipedia

    It is most commonly written as x ?? y, but varies across programming languages. While its behavior differs between …

  4. Null Coalescing Operator (??) in C# Explained - Built In

    May 12, 2025 · The C# null coalescing operator (??) is a versatile operator that simplifies the handling of null values in C# code. It …

  5. Understanding ??, ?., and ??= in .NET — Null Handling Simplified for C# ...

    May 20, 2025 · Fortunately, with modern C# (especially from C# 6 onwards), Microsoft has introduced powerful null-handling …

  6. docs/docs/csharp/language-reference/operators/null-coalescing-operator ...

    Jan 20, 2026 · The `??` and `??=` operators are the C# null-coalescing operators. They return the value of the left-hand operand if it …

  7. Elvis operator - Wikipedia

    A similar operator is the null coalescing operator, where the boolean truth (iness) check is replaced with a check for non- null instead. …

  8. Nullability in C# - GitHub

    This repository contains sample code for an upcoming series of articles about nullability, nullable reference types, and the various …

  9. Null-Coalescing Operator (??) in C#: A Concise Guide The C#

    It provides a concise syntax to assign a default value to a variable if the expression on the left side is null.

  10. Shorthand Operators Every Developer Should Know in C#

    Null-Coalescing Operator (??) The null-coalescing operator (??) is an essential shorthand for handling null values, particularly when …