Lambda expression to capture all values within a dictionary
I have a LINQ query that returns all values inside a Dictionary, something conditional:
var apps =
from entry in shape.Decorators
where entry.Value == DecoratorLayoutStyle.App
select entry.Key;
shape.Decorators are
Dictionary<Shape, DecoratorLayoutStyle>
Is there something patience and / or can I use a combination of lambda or something like that?
+2
source to share
5 answers