How do I write the following C# SWITCH / CASE statement in the Mendix Modeler?
var variable = "test";
var counter = 0;
switch (variable)
{
case "test":
counter++;
break;
case "testtest":
counter--;
break;
default:
break;
}
I understand that I can nest a series of exclusive splits but I have always found SWITCH / CASE to be much more readable and would like to reuse it in Mendix if possible.