Answers for "switch case boolean c#"

C#
1

c# switch statement

string command = "stop";
switch(command){
  case "start" :
    Console.WriteLine("started your alexa");
    break;
  case "stop":
	Console.WriteLine("stopped your alexa");
	break;
Posted by: Guest on October-30-2021

C# Answers by Framework

Browse Popular Code Answers by Language