Answers for "nested switch c#"

C#
1

nested switch c#

switch(ch1) {
   case 'A':
   Console.WriteLine("This A is part of outer switch" );
   
   switch(ch2) {
      case 'A':
         Console.WriteLine("This A is part of inner switch" );
         break;
      case 'B': /* inner B case code */
   }
   break;
   case 'B': /* outer B case code */
}
Posted by: Guest on August-04-2020

C# Answers by Framework

Browse Popular Code Answers by Language