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
I ususually use for, cause it's simple. I use while when counter is needed after or before loop or if using for is impossible.