About 119,000 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

    Once a non-null value is assigned to number, or it reaches the final value (which may or may not be null), the expression is completed. If, for example, a variable should be changed to another …

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

  4. Elvis operator - Wikipedia

    In C#, the null-conditional operator, ?. is referred to as the "Elvis operator", [10] but it does not perform the same function. Instead, the null-coalescing operator ?? does.

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

  6. C Sharp syntax - Wikipedia

    C# provides the lock statement, which is another example of beneficial syntactic sugar. It works by marking a block of code as a critical section by mutual exclusion of access to a provided …

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

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

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

  10. Lambda Functions: Simplifying Code with Inline Functionality in C#

    Apr 26, 2024 · Lambda functions are a valuable asset in the C# developer’s toolkit. By incorporating them effectively, you can write cleaner, more expressive, and maintainable code.