switch (c) { case 'a': foo(); break; case 'b': bar(); default: foobar(); }