Chapter4/4.1_Syntax/switch/switchの条件を配列にし処理を実行する.ps1
switch (4,2){ 1 {"It is one."} 2 {"It is two."} 3 {"It is three."} 4 {"It is four."} 3 {"Three again."} } |
switch (4,2){ 1 {"It is one."} 2 {"It is two."} 3 {"It is three."} 4 {"It is four."} 3 {"Three again."} } |