How do I write a Do .. While loop in C#?
(Edit: I am a VB.NET programmer trying to make the move to C#, so I do have experience with .NET / VB syntax. Thanks!)
Here's a simple example that will print some numbers:
int i = 0; do { Console.WriteLine(++i); } while (i < 10);