Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# swtich

 switch (caseSwitch)
      {
          case 1:
              Console.WriteLine("Case 1");
              break;
          case 2:
              Console.WriteLine("Case 2");
              break;
          default:
              Console.WriteLine("Default case");
              break;
Source by www.c-sharpcorner.com #
 
PREVIOUS NEXT
Tagged: #swtich
ADD COMMENT
Topic
Name
1+6 =