Working with Switch Statement in SwitchStatement class