About 108,000 results
Open links in new tab
  1. Null coalescing operator - Wikipedia

    It is most commonly written as x ?? y, but varies across programming languages. While its behavior differs between implementations, the null coalescing operator generally returns the result of its left …

  2. C# Null Coalescing (??) operator - Medium

    Jul 19, 2024 · The null coalescing operator (??) in C# is a convenient way to handle null values in expressions. It checks whether its left-hand operand is null and, if so, evaluates and returns the right …

  3. Nullability in C# - GitHub

    This repository contains sample code for an upcoming series of articles about nullability, nullable reference types, and the various null operators in C# (null conditional, null coalescing, and null …

  4. Learn C#: A Cheat Sheet for Newcomers - HackerNoon

    Mar 9, 2023 · C# (pronounced “C sharp”) is a modern, object-oriented programming language developed by Microsoft. It is widely used for creating desktop applications, games, mobile …

  5. Null Operators and Handling Null Values in C# - Medium

    Jul 23, 2024 · The ??= operator (introduced in C# 8) is the null-coalescing assignment operator. It says, “If the operand to the left is null, assign the right operand to the left operand.”

  6. C Sharp syntax - Wikipedia

    C# does not use the C preprocessor, but evaluates the code directly as if the preprocessor were there. Conditionals such as #if, #endif, and #else are provided, but code inclusion directives like #include …

  7. LabinatorSolutions/csharp-cheat-sheet - GitHub

    This repository contains a collection of comprehensive C# learning resources, cheatsheets, and references designed for developers at all skill levels. Whether you're a beginner learning the basics …

  8. Every C# Operator You Need To Know - Medium

    Sep 30, 2024 · Whether you’re a beginner or looking to refresh your knowledge, this guide will equip you with the operator insights needed to enhance your C# programming skills.

  9. Mastering Operators in C#: A Comprehensive Guide - Medium

    Jul 31, 2024 · In C#, value types (such as int, float) do not normally accept null values. To make value types nullable, the ? operator is used. This operator allows the value type to accept null values.

  10. C# Fundamentals for Absolute Beginners - GitHub

    Search for and focus on the information you need, in this C# for beginners course, which has topics separated out into individual videos. Get to know the grammar, create and use methods, manipulate …