Let me assume that I have 2 enumeration, which I know is the same number of elements and each element is equally placed in the "mail" element. Is other calculation a way to process these 2 enumeration simultaneously so that at the same time can I reach the same elements of each calculation?
Using the theoretical LINQ syntax, I have something in mind:
from x to seq1, select seq2 in y new {x.foo, y. Bar}
Neil Williams has removed his answer, so I'll go ahead and post a link.
Public Stable IEnumerable & lt; KeyValuePair & lt; Teestost, Teeskand & gt; & Gt; The pin of the & lt; TFirst, TSecond & gt; (The INMMableLt; TEFSTANT; Source, IEMENERABLE & LEFTINM; TECENCENDS; SECOND SUEENS) {INMMEMATOR AND Lieutenant; TCECand & gt; Second ITR = Seconds Sewense. Using the gate anonymizer ()) {foreach (first TFirst in the source) {if Second! Second.ter.MoveNext ()) Logic expression ("sequence before second seconds"); } Yield returns new kwalpere & lt; Tigerstead, Tsekand & gt; (First, second eater.); } If (secondIter.MoveNext ()) {new argument expression ("first second sequence before"); }}}
Note that keyvaluePair I am extra, and that I do not want it to be used in this way in general, instead, I will type a normal pair or type I define. However, they are not included in the current version of the structure and I did not want to dislocate this sample with additional sample definitions.