int a = 0; do { a += 1; Console.WriteLine(a); } while (a % 6 != 0);