About 98,500 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 …

  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 …

  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. Null Operators and Handling Null Values in C# - Medium

    Jul 23, 2024 · Learn how to manage null values in C# with null-coalescing and null-conditional operators, nullable value types, and best practices for handling nulls in collections to make …

  5. C Sharp syntax - Wikipedia

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

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

  7. C# Learning Resources & Cheat Sheets - 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 …

  8. Shorthand Operators in C#: Streamlining Your Code - Medium

    Dec 10, 2023 · As a C# developer, you’ve undoubtedly encountered the need for concise and efficient code. Shorthand operators come to the rescue, offering a more streamlined approach …

  9. C Sharp (programming language) - Wikipedia

    James Gosling, who created the Java programming language in 1994, and Bill Joy, a co-founder of Sun Microsystems, the originator of Java, called C# an "imitation" of Java; Gosling further …

  10. Dealing with NULL in C#. In C#, null is a special value that… | by ...

    Jun 30, 2024 · In C#, null is a special value that represents the absence of a value. Handling null values is an essential part of programming in C#. Before accessing any variable, you should …