Code Snippets Similar to "Switch":