mnaking a while loop stament true and false in C# code example
Example 1: while loop in c#
int i = 0;
while (i < 10)
{
Console.WriteLine("Value of i: {0}", i);
i++;
}
Example 2: while loop check condition c#
simple while loop
int i = 0;
while (i < 10)
{
Console.WriteLine("Value of i: {0}", i);
i++;
}
simple while loop