1. msdn.com  · C# Visual Studio 2015
    The switch statement is a control statement that selects a switch section to execute from a list of candidates.
    Version - 2013 · 2012 · 2010 · 2008 · 2005 · 2003

    Code sample

    int switchExpression = 3;
    switch (switchExpression) {
    case 0:
    case 1:
    Console.WriteLine( "Case 0 or 1");
    class Program {
    static  void Main( string[] args) {
    int switchExpression = 3;
    switch (switchExpression) {
    case 0:
    case 1:
    Console.WriteLine( "Case 0 or 1");
    break;
    case 2:
    Console.WriteLine( "Case 2");
    break;
    Console.WriteLine( "Unreachable code");
    case 7 - 4:
    Console.WriteLine( "Case 3");
    break;
    default:
    Console.WriteLine( "Default case (optional)");
    break;
    }
    }
    }
    Data from: MSDN Was this helpful? Thanks! 
    See less
  2. switch ( C# Reference) - msdn.microsoft.com

    https:// msdn.microsoft.com/en-us/library/06tc147t.aspx

    C# Keywords Statement Keywords Selection Statements. ... The switch statement is a control statement that selects a switch section to execute from a list of candidates.

  3. using the 'is' keyword in a switch in c# - Stack Overflow

    stackoverflow.com/questions/223643
    • RESOLVED
    • 10 POSTS
    • FIRST POST: OCT 21, 2008

    Oct 21, 2008 · In C# it's not possible to use the "is" keyword as part of a switch statement. All case labels in a switch must evaluate to constant expressions.

  4. 8.7.2 The switch statement ( C#) - msdn.microsoft.com

    https:// msdn.microsoft.com/en-us/library/aa664749(v=vs.71).aspx

    The switch statement selects for execution a statement list having an associated switch label that corresponds to the value of the switch expression.

  5. C# Case Example - dotnetperls.com

    https:// www.dotnetperls.com/case

    This C# page presents the case keyword. Case is used in switch statements to match values.

  6. The switch statement - The complete C# Tutorial

    csharp.net-tutorials.com/basics/ switch-statement

    A chapter on The switch statement in the complete Microsoft C# .NET tutorial using Visual Studio Express 2012

  7. switch keyword... - C# / C Sharp

    https://bytes.com/topic/c-sharp/answers/274211- switch- keyword
    • 5 POSTS
    • FIRST POST: NOV 17, 2005

    Nov 17, 2005 · Hi, Coming back to C# after a foray back into Delphi 7, and I wanted to use the switch keyword to do the following: switch (pwdChar) {case "a".."z":

  8. Why do we have to use break in switch? - Stack Exchange

    programmers.stackexchange.com/...do-we- have-to-use-break-in-switch

    Why do we have to use break in switch? ... C# switch statements definitely allow ... but used the keyword sometimes as with C and sometimes in this alternative ...

  9. C# Keywords Table - DevList

    www.devlist.com/CSharp.aspx

    C# Keywords Table: Table of C# keywords and ... The switch statement is a control statement that handles multiple selections by passing control to one ...

  10. C# Switch Statements : Case and Goto - DotNetPerls

    https:// www.dotnetperls.com/ switch

    These C# examples cover the switch statement. It is possible to switch on value types and strings.

  11. C# Switch Statement | the coding guys

    www. thecodingguys.net/tutorials/csharp/csharp- switch-statement

    In this tutorial learn about C# switch statement, including case sensitive issues and goto keyword