Which label does this three-element command produce?

from Pattern matching
C# 14 / .NET 10 intermediate 2 min

Which label does this three-element command produce?

csharp
using System;

string[] args = ["ship", "A-17", "--priority"];

string result = args switch
{
    ["ship", var id] => $"standard {id}",
    ["ship", var id, "--priority"] => $"priority {id}",
    [var command, ..] => $"unknown {command}"
};

Console.WriteLine(result);
Open in playground
Report an error