c# switch true when