Answers for "explain what a switch statement does?"

C#
0

switch case

switch(expression) 
{
  case x:
    // code block
    break;
  case y:
    // code block
    break;
  default:
    // code block
    break;
}
Posted by: Guest on November-26-2020

Code answers related to "explain what a switch statement does?"

C# Answers by Framework

Browse Popular Code Answers by Language