Skip to content
Discussion options

You must be logged in to vote

@JustNrik

It was an intentional design decision, C# expects the developer to be explicit about their conditions. null is not false.

https://ericlippert.com/2012/04/12/null-is-not-false-part-two/

Replies: 4 comments 3 replies

Comment options

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

Comment options

You must be logged in to vote
0 replies
Answer selected by tacosontitan
Comment options

You must be logged in to vote
2 replies
@CyrusNajmabadi
Comment options

@HaloFour
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #4017 on October 16, 2020 02:13.