Hi,
I have a group by linq value like
key1 - [0] - email,mobile,watch
key2 -[1] - email,mobile,watch
How to select the particular email address value of key1[0] in email
Thanks
Hi,
I have a group by linq value like
key1 - [0] - email,mobile,watch
key2 -[1] - email,mobile,watch
How to select the particular email address value of key1[0] in email
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Aravind GovindarajRank #430 · 5.8K reputationPosted Nov 28, 2022, 7:29 AM EST
var collection = consider it has a list of data which has key1 and key 2
var result = collection.find(x=> x.key == key name).select(y=> y.firstorDefault()).email
sathishRank #4,713 · 329 reputationPosted Nov 28, 2022, 7:44 AM EST
Aravind
It displays error as 'find' is not recognized one.
Aravind GovindarajRank #430 · 5.8K reputationPosted Nov 28, 2022, 8:09 AM EST
Try with other iterator like where , select