[Solved] C# how do I this simple else to loop until true? [closed]
Put this around your code: while(true) { // CODE break; } and inside the else {} part: continue; Edit: You can also use LINQ, e. g. while(Controls.OfType<TextBox>().All(t => !t.Visible)) if you only have those boxes whose visibility changes inside the loop. 2 solved C# how do I this simple else to loop until true? [closed]