This is an endless cycle.
Somewhere inside there should be an operator break;or, possibly, an exception created so that the control passes outside the loop.
You can also achieve the same (perhaps more obvious) by doing
while (true)
{
// do stuff
}
source
share