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
  • 73
  • 4

1 Answers1

2

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

PeterN
  • 207
  • 1
  • 3
  • 14