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