for (int k = 1; k <= 10; k++)
  {
    Console.WriteLine(k);
    }