while loop with if statement c# code example Example: while loop check condition c# simple while loop