4 lines
157 B
C#
4 lines
157 B
C#
int[] numbers = { 1, 2, 3, 4 };
|
|
string[] words = { "one", "two", "three" };
|
|
Console.WriteLine(numbers.Zip(words, (first, second) => first + " " +
|
|
second));
|