Anonymous Types and Lambdas(www.kodefuguru.com)
submitted by
KodefuGuru(2818) 1 year, 6 months ago
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.
|category: C#
|Views: 2
tags:
C# another
Everyones tags:
Your Tags: