How to stop C#'s switch statement from generating the CIL switch instruction
- by qochismo
C#'s switch statement can compile to a CIL switch instruction, or if/else's, depending on the cases in the statement as mentioned here. Is there a way to force the compiler to always generate the if/else variant in a block of code?