xxxxxxxxxx
var output = 4 switch
{
1 => "one",
2 => "two",
3 => "three",
4 => "four", 5 => "five",
};
// output: four
xxxxxxxxxx
using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}