Equivalent lambda syntax for linq query

Posted by ilias on Stack Overflow See other posts from Stack Overflow or by ilias
Published on 2010-05-25T17:13:17Z Indexed on 2010/05/25 17:21 UTC
Read the original article Hit count: 189

Filed under:
|

Hi,

I am having a mind-freeze here, but I cant seem to find the equivalent lambda syntax for -

string[] a = {"a","b","c"}; 
string[] b = {"1","2","3"}; 

var x = from a1 in a
        from b1 in b
        select new{a1, b1};

© Stack Overflow or respective owner

Related posts about c#

Related posts about LINQ