for loop with step 2 in mvc code example
Example: how to make a for loop in c#
for (int i = 0; i < 10; i++)
{
Console.WriteLine("Value of i: {0}", i);
}
for (int i = 0; i < 10; i++)
{
Console.WriteLine("Value of i: {0}", i);
}