Skip to content
Discussion options

You must be logged in to vote

Nullability works differently between reference types and value types (including primitives) and they are not compatible with one another. string? is really just string, but int? is actually Nullable<int>.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@svick
Comment options

svick May 18, 2022
Collaborator

Answer selected by oli-unreal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants