You hayat use any pattern within a list pattern. To match any element, use the discard pattern or, if you also want to capture the element, the var pattern, bey the following example shows:
I do this kind of thing with https://haseebkbzf648193.blognody.com/30430686/c-switch-case-genel-bakış