# Example 1
Generate first hundred natural numbers.
What is a natural number?
In simple terms, natural numbers are the numbers that you can count on your fingers. This means 1, 2, 3, 4, ... are natural numbers. But 0 is not a natural number.
for (int i = 1; i <= 100; i++)
{
Console.WriteLine(i);
}
1
2
3
4
2
3
4
Notice that in line 1, we start the loop from 1 and finish it at 100.