In VB I can write a loop that always executes at least once. For example:
Do
[code]
Loop While [condition]
Is there a way to do that in C#?
Sure:
do
{
...
} while (condition);
See do (C# Reference)
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With