Click here to Skip to main content
15,906,329 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: .NET's Sometimes Nonsensical Logic Pin
R.Kramer1-Mar-24 4:07
R.Kramer1-Mar-24 4:07 
GeneralRe: .NET's Sometimes Nonsensical Logic Pin
Peter Moore - Chicago1-Mar-24 5:50
Peter Moore - Chicago1-Mar-24 5:50 
GeneralRe: .NET's Sometimes Nonsensical Logic Pin
Member 101590881-Mar-24 6:17
Member 101590881-Mar-24 6:17 
GeneralRe: .NET's Sometimes Nonsensical Logic Pin
ShawnVN1-Mar-24 8:11
ShawnVN1-Mar-24 8:11 
GeneralRe: .NET's Sometimes Nonsensical Logic Pin
jschell1-Mar-24 12:15
jschell1-Mar-24 12:15 
AnswerRe: .NET's Sometimes Nonsensical Logic Pin
Plamen Dragiyski2-Mar-24 10:38
professionalPlamen Dragiyski2-Mar-24 10:38 
GeneralRe: .NET's Sometimes Nonsensical Logic Pin
Harald M.3-Mar-24 23:49
Harald M.3-Mar-24 23:49 
GeneralRe: .NET's Sometimes Nonsensical Logic Pin
carloscs5-Mar-24 7:55
carloscs5-Mar-24 7:55 
One more for MS is right here (what??? how is that possible.)

Not really different from what others already wrote, but this is how I see it...

For me, Any(x) is the same as All(!x) so this must be true:

if list.Any(x) == false then list.All(!x) == true

which is true with the current implementation.

What you expect results in:

list.Any(x) == false and list.All(!x) == false.

... it's correct under your assumption, but to me it's illogic logic Smile | :) .
JokeFor those celebrating their 21st birthday today... Pin
Daniel Pfeffer29-Feb-24 2:19
professionalDaniel Pfeffer29-Feb-24 2:19 
GeneralRe: For those celebrating their 21st birthday today... Pin
Richard Andrew x6429-Feb-24 2:56
professionalRichard Andrew x6429-Feb-24 2:56 
GeneralRe: For those celebrating their 21st birthday today... Pin
dandy7229-Feb-24 3:00
dandy7229-Feb-24 3:00 
GeneralRe: For those celebrating their 21st birthday today... Pin
obermd29-Feb-24 3:34
obermd29-Feb-24 3:34 
GeneralRe: For those celebrating their 21st birthday today... Pin
Richard Andrew x6429-Feb-24 3:40
professionalRichard Andrew x6429-Feb-24 3:40 
GeneralRe: For those celebrating their 21st birthday today... Pin
haughtonomous1-Mar-24 1:26
haughtonomous1-Mar-24 1:26 
GeneralRe: For those celebrating their 21st birthday today... Pin
dandy721-Mar-24 4:06
dandy721-Mar-24 4:06 
GeneralRe: For those celebrating their 21st birthday today... Pin
jsc421-Mar-24 5:08
professionaljsc421-Mar-24 5:08 
GeneralRe: For those celebrating their 21st birthday today... Pin
trønderen1-Mar-24 6:52
trønderen1-Mar-24 6:52 
GeneralRe: For those celebrating their 21st birthday today... Pin
haughtonomous27-Mar-24 21:48
haughtonomous27-Mar-24 21:48 
GeneralRe: For those celebrating their 21st birthday today... Pin
dandy721-Mar-24 7:56
dandy721-Mar-24 7:56 
GeneralRe: For those celebrating their 21st birthday today... Pin
trønderen1-Mar-24 13:32
trønderen1-Mar-24 13:32 
GeneralRe: For those celebrating their 21st birthday today... Pin
Maximilien29-Feb-24 3:44
Maximilien29-Feb-24 3:44 
GeneralRe: For those celebrating their 21st birthday today... Pin
CPallini29-Feb-24 4:10
mveCPallini29-Feb-24 4:10 
GeneralRe: For those celebrating their 21st birthday today... Pin
dandy7229-Feb-24 5:25
dandy7229-Feb-24 5:25 
GeneralRe: For those celebrating their 21st birthday today... Pin
OriginalGriff29-Feb-24 5:58
mveOriginalGriff29-Feb-24 5:58 
GeneralRe: For those celebrating their 21st birthday today... Pin
jeron129-Feb-24 6:53
jeron129-Feb-24 6:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.