3
Answers

LINQ with ref parameter

Sunshine

Sunshine

8y
1.7k
1
Hi,
I'd like to know if it's possible to get a collection of something with LINQ with the 'where' clause equal to a function that has a ref parameter.
var objCol = from id in ids
where id.GetValue(2, ref strValue) == "6"
select id;
The result should be based on the ref value.
Thanks
Answers (3)