Is it possible to loop over a pair rather than one each? For example, as a hypothetical code, I would write like this
If I do
then it will waste time on looping over "Her" "Mother", which I do not need.
Code:
foreach (X,Y) in ("His" "Mother") ("His" "Father") ("Her" "Father") { }
Code:
foreach X in "His" "Her" { foreach Y in "Mother" "Father" { }
Comment