Using C# (or VB.NET) which loop (for loop or do/while loop) should be used when a counter is required?
Does it make a difference if the loop should only iterate a se
There's no reason not to use a for loop in this case. Even if you have other criteria, it's perfectly valid to write:
for
for (int iLoop = 0; iLoop < int.MaxValue && Criteria; iLoop++) { ... }