2

I find empty "for(;;)" statement in someone else code, and I can't figure out why it is used like this.

try
        {
            for (;;)
            {
Mbanch
  • 98
  • 6

1 Answers1

2

It is an infinite loop, just like: while (true)

PeterN
  • 217
  • 1
  • 4
  • 15