About 38,400 results
Open links in new tab
  1. 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 …

  2. 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 …

  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. C# Basics for Absolute Beginners in C# and .NET - GitHub

    This course will teach you the fundamentals of the C# programming language in .NET from the ground up. You will apply the learnings through lots of quizzes, assignments, coding challenges, etc.

  6. C Sharp syntax - Wikipedia

    It extends C# with specification language features and presents a possible future feature to the C# language. It adds syntax for the code contracts API that was introduced in .NET Framework 4.0.

  7. The Double Question mark in C# — ?? | Geek Culture - Medium

    Jul 12, 2022 · The double question mark or null-coalescing operator in C#: how to use it. Assignment, chains, associativity.

  8. 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.

  9. 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.”

  10. Mastering C# Syntax: A Beginner’s Guide - Medium

    Aug 3, 2024 · Understanding the basic structure of a C# program, along with the syntax for variables, operators, control flow, and methods, will enable you to write clear and effective code.