@scgtrp said:@MarkR said:Too bad the only C# loop constructs introduced in C# were the for-loop and the goto statement. Even if you're working within some ridiculous coding standard that disallows while-loops for some reason, isn't while(condition) equivalent to for(;condition;) ? Yes.A lot of beginner C# and Java programmers are taught how to create a for loop, but not that all three parts of the statement are optional.