switch Statement
For multiple conditional statements, it is better to use switch statement.
The data type specified in expression must match that of values.
The following example includes the tools: |
|
|
|
Application.Exit statement terminates execution immediately.
private void Stop_Click( object sender, EventArgs e ) {
Application.Exit( );
}
|
|
“Argued that winning a silver medal is the worst, as it means being the top loser.” ― Jerry Seinfeld |