Using Case Instead of If statements

I come from a Delphi background and decided to give c# a try. I tried switch instead of if for my setup giving me the ability to use a type of ID system and commands.