I am trying to write a switch statement that would type the search term in the search field depending on whichever search textbox is present. I have the following code. But
You can do more than just fall through in C#, but you must utilize the "dreaded" goto statement. For example:
switch (whatever) { case 2: Result.Write( "Subscribe" ); break; case 1: Result.Write( "Un" ); goto case 2; }