Chapter4/4.1_Syntax/switch/switchで最初の条件にbreakを追加して終了する.ps1
switch (3){ 1 {"It is one."} 2 {"It is two."} 3 {"It is three."; break;} 4 {"It is four."} 3 {"Three again."} } |
switch (3){ 1 {"It is one."} 2 {"It is two."} 3 {"It is three."; break;} 4 {"It is four."} 3 {"Three again."} } |