0
kicks
Anonymous Types and Lambdas
I saw an interesting tweet from @remitaylor yesterday.
"Cannot assign lambda expression to anonymous type property." :sadface: So I can't include a lambda as a value in any new { ... } in C#
Unfortunately, this is true. I tried it myself. Here's how to make it work.