Am I reading this right?
in this code :
for (int i =0; i < 5: i++)
{
Console.WriteLine(i);
}
So am i understanding this right?: First you have to declare statement 1 witch is int i = 0; once this is declared the complier execute the code block that contains Console.WriteLine(i); statement 2 defines the condition for executing the code block. statement 3 is executed everytime after the code block has been executed?
for (int i =0; i < 5: i++)
{
Console.WriteLine(i);
}
So am i understanding this right?: First you have to declare statement 1 witch is int i = 0; once this is declared the complier execute the code block that contains Console.WriteLine(i); statement 2 defines the condition for executing the code block. statement 3 is executed everytime after the code block has been executed?