for (i in 0 until data.length step 2) in c# code example
Example: for loop 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);
}