Friday, August 6, 2010

Define flow control in c sharp.?

Flow of control means controlling the path through a program. That is modified by things such as





if statements - you go one way or another


loops (while, for, etc.) - you stay in one section for another


switch statements - go one of may ways


foreach (unique to C# and not in any other C variant) - another looping method.

No comments:

Post a Comment