The switch-case statement · void M(string x) { · switch(x) · { · case "a": · WriteLine("a value"); · break; · case "b": · WriteLine("b value");.
確定! 回上一頁