Surround the whole thing by with a
for
loop
private void IzvadaJautajumuAtbildes(int[] testValues)
{
for (int i = 0; i < testValues.Length(0); i++)
{
var something =
from x in channel2.GetJautajumuSaraksts(testValues[i])
..................
..................
break;
}
}
}
Check syntax, I'm doing this off the top of my head.