Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. [1;2;3;4] |> List.collect (fun x -> x * 2) // [2;4;9;16]
  2.  
  3. new List<int>() { 1, 2, 3, 4 }
  4. .SelectMany(x => new List<int>() { x * 2 }); // 2;4;9;16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement