Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<string> animals = new List<string>() { "cat", "dog", "donkey" };
- List<int> number = new List<int>() { 10, 20 };
- var mix = number.SelectMany(num => animals, (n, a) => new { n, a });
Advertisement