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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Aravind GovindarajPosted Nov 28, 2022, 1:09 PM
Try with other iterator like where , select
sathishPosted Nov 28, 2022, 12:44 PM
Aravind
It displays error as 'find' is not recognized one.
Aravind GovindarajPosted Nov 28, 2022, 12:29 PM
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