switch case or condition c#