Flow control statements

C# has the following statements to do the flow control.

  1. Selection statement
    1. if
    2. switch
    3. ? :
  2. Loop statement
    1. while
    2. do...while
    3. for
    4. foreach
  3. Jump statement
    1. break
    2. continue
    3. throws
    4. return
    5. goto
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.