asp.net mvc - Are there any common uses of C# do-while loop in web development? -


i've been coding long, long time, self-taught. i'm working toward computer science degree, programming class talking post-test loops, do-while loop.

now understand runs once, checks condition... since i'm web programmer, wondering: common web development (asp.net mvc/razor preferably) scenarios do-while loop fits perfectly?

i'm not quite getting concept straight in mind...

i have been involved in many web projects , can't remember specific use type of loop. on web, work collection of items , logic each 1 of them. web developers use foreach , for.

do - while fits more algorithms , calculations, , don't many of these in classic web development imo.


Comments