Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# switch statement

string command = "stop";
switch(command){
  case "start" :
    Console.WriteLine("started your alexa");
    break;
  case "stop":
	Console.WriteLine("stopped your alexa");
	break;
Source by www.c-sharpcorner.com #
 
PREVIOUS NEXT
Tagged: #switch #statement
ADD COMMENT
Topic
Name
9+6 =