S
Sems
Hi
I have the below linq query but want to convert it to use a lambda expression but can't figure it out. How should I do this?
Working query...
var d = from p in dictionary.Fields
where p.VariableName == SrcField
select p.Value;
Lambda attempt that is wrong...
var o = dictionary.Fields.Select(q => q.Value).Where(s => s.VariableName == SrcField);
I have the below linq query but want to convert it to use a lambda expression but can't figure it out. How should I do this?
Working query...
var d = from p in dictionary.Fields
where p.VariableName == SrcField
select p.Value;
Lambda attempt that is wrong...
var o = dictionary.Fields.Select(q => q.Value).Where(s => s.VariableName == SrcField);