I have a mind freeze here, but I cannot 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};
var x = a.SelectMany(a1=>b.Select(b1=>new {a1,b1}));
ReSharper says:
var x = a.SelectMany(a1 => b, (a1, b1) => new { a1, b1 });
Source: https://habr.com/ru/post/1747061/More articles:PHP-кодирование в реальном мире!!! мне нужно изучить любую Ракурс? - phpRemoving the first and last items of a linked list in C - cOpenGL Mipmapping: how does OpenGL determine the level of a map? - filterNullReferenceException when user control refers to usercontrol in parent user control - asp.netHelp with my printf function - cAn interesting situation with the AS3 hash. Does he really use strict equality, as the documentation says? - equalityHow to make CheckBoxList Validator - validationConnect to unknown function in dll using C # - c #Asp.net mvc inheritance controllers - inheritanceThe PHP $ _SESSION nested array is lost when the dummy foreach () name matches the array name - phpAll Articles