AsEnumerable().Any(Function (x) explanation

Hi everyone !! Could anyone please help me understand what AsEnumerable().Any(Function (x) … do? I’m traying to understand this line:
ListOfMailMessages.AsEnumerable().Any(Function (mmessage) mmessage.Subject.ToLower.Contains(emailSubject.ToLower)) witch filters email messages with certain subject.

so what I’m trying to understand is what is the rule that i should follow when i use the AsEnumerable().Any(Function (x)…? what is x and what it value?

Note: i don’t have any background on VB :smiling_face_with_tear:

1 Like

hey

go through the @ppr linq tutorials, there is lot of information about everything you want to know

Regards!

1 Like

Thanks a lot!!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.