c# does while check before or after the loop code example Example: while loop check condition c# simple while loop