Tuesday, September 16, 2008

The Execution of Switch and Case

switch和case语句只是选择入口,直至执行到switch结尾或遇到break.

MSDN:
Execution of the statement body begins at the selected statement and proceeds until the end of the body or until a break statement transfers control out of the body.

No comments: