using System; using System.Linq; using System.IO; using System.Collections.Generic; public class Test { public static void Main() { var tr = new List{"432","bf","ret","2","gery","ret","44","hg"}; int j = 0; foreach(string z in tr) { if(j >= tr.Count) break; else { string woah = tr[0+j]+tr[1+j]+tr[2+j]+tr[3+j]+tr[4+j]+tr[5+j]+tr[6+j]+tr[7+j]; j = j + 8; Console.WriteLine(woah); } } } }