using System;
public class SwitchStmtEx2 {
public static void Main() {
string[] ary = new string[] {
"春",
"梅雨",
"夏",
"秋",
"冬"
};
var random = new System.Random();
var x = ary[random.Next(0, ary.Length)];
var message = x
switch {
"春" => "Spring",
"夏" => "Spring",
"秋" => "Spring",
"冬" => "Spring",
_ =>
throw new InvalidOperationException()
Console.WriteLine($"{x}は、英語で{message}です。");
}