mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
7 lines
201 B
C#
7 lines
201 B
C#
switch day
|
|
case "Tuesday" then eat_breakfast()
|
|
case "Wednesday" then go_to_the_park()
|
|
case "Saturday"
|
|
if day is bingo_day then go_to_bingo().
|
|
case "Sunday" then go_to_church()
|
|
else go_to_work(). |