How to implement switch statement in C# ?
A switch statement in C,C#,and C++ allows you to execute different code blocks based on the value of a variable.It evaluates an expression and compares its value to a series of constant cases.If a match is found,the corresponding code block is executed.If ...