Slide 49
Slide 49 text
List strings = new List { "A", "B", "C" };
List ints = new List { 3, 1, 4, 1, 5 };
IEnumerable> zipped
= strings.Zip(ints, (s, i) => Tuple.Create(s, i));
foreach(Tuple tuple in zipped) {
Debug.Log(tuple);
}
// (A, 3)
// (B, 1)
// (C, 4)