using System;
class Program
{
static void Main()
{
int min = 5, max = 10;
while (min <= max)
{
Console.WriteLine(min);
min++;
}
Console.ReadKey();
}
}
|
Class Program
Shared Sub Main()
Dim min As Integer = 5, max As Integer = 10
While min <= max
Console.WriteLine(min)
min += 1
End While
Console.ReadKey()
End Sub
End Class
|