Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

switch case with 2 variables c#

switch (intVal1, strVal2, boolVal3)
{
    case (1, "hello", false):
        break;
    case (2, "world", false):
        break;
    case (2, "hello", false):
        break;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #switch #case #variables
ADD COMMENT
Topic
Name
6+5 =