while (true) {
}

-----Original Message-----
From: David Ferguson [mailto:[EMAIL PROTECTED]] 
Sent: Montag, 6. Mai 2002 05:00
To: [EMAIL PROTECTED]
Subject: [DOTNET] What is the C# idiom for an endless loop?

What is the C# idiom for an endless loop?

In C++ I am used to writing.

    for (;;)
    {
        // do this forever
    }

What is the recommend way of doing this in C#.

Cheers...Davd

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to