About 36,400 results
Open links in new tab
  1. Nullable value types - C# reference | Microsoft Learn

    Jan 20, 2026 · A nullable value type T? represents all values of its underlying value type T and an additional null value. For example, you can assign any of the following three values to a bool? …

  2. Nullable type - Wikipedia

    Nullable types are a feature of some programming languages which allow a value to be set to the special value NULL instead of the usual possible values of the data type.

  3. Nullable types in C# - GeeksforGeeks

    Sep 6, 2025 · Suppose, in a table a column required null values, then you can use nullable type to enter null values. Nullable type is also useful to represent undefined value.

  4. Much Ado About Nullable: Nullable Reference Types Explained

    Dec 26, 2025 · Ask yourself, “Is this string or object reference nullable or not nullable based on the logic of my program?” Then, annotate or initialize accordingly and prevent compiler warnings up front.

  5. C# nullable types - working with Nullable types in C# - ZetCode

    Apr 30, 2025 · Master nullable types in C# with this detailed tutorial. Learn how to handle null values, work with nullable data types, and implement null safety effectively in your C# programs, with step-by …

  6. Nullable Types in C# - TutorialsTeacher.com

    A nullable type can represent the correct range of values for its underlying value type, plus an additional null value. For example, Nullable<int> can be assigned any value from -2147483648 to 2147483647, …

  7. Understanding Nullable types in Programming - w3resource

    Learn what nullable types are, why they are useful, and how to use them in languages like Python, JavaScript, and C#. Includes examples and best practices.

  8. Nullable types - The complete C# tutorial

    Nullable objects always come from a base data type, e.g. an integer as in the previous examples. While these data types may have a default value, the default value of a nullable is always null.

  9. C# Nullable Types and Null Coalescing Operator

    C# provides two special types: nullable types and the null coalescing operator (??). Nullable types allow variables to store null in addition to their normal range of values.

  10. C# - Nullable Examples - Dot Net Perls

    Apr 11, 2023 · Nullable types are value types that are wrapped inside the nullable type. They can be useful when you want to add another state (invalid or uninitialized) to a value type.