I did some comparison between NULL types when I noticed this:
int? a = null;
int? b = null;
For me, the operator is <=
equivalent == OR <
, and since a == b
- true
, I exclude also true
for a <= b
.
Not for you too illogical?
Why operators <=
and >=
have been designed in such a way? Is there any special reason?
source
share