c# switch or if else performance