dotnet / dotnet/docs

Nullable is in different places for ref and value types

Open
#36,934 1 comment 0 reactions 0 assignees View on GitHub
dotnet-csharp/svc fundamentals/subsvc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

I searched on nullable C#, ended in in the nullable value type section. I then wanted to see nullable reference types in the reference type section below it. It wasn't there.

https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/nullable-value-types

image

image

IMO, this is sort of confusing general nullability and null handling as a language affordance with nullable reference types as a specific feature.

@BillWagner @KathleenDollard

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.