If I have a StringValues, with following possible values:
"AString"
["OnlyString"]
["FirstString", "IDontCare"]
How can I use C# pattern matching to extract a non-null first string with a one-liner?
I was expecting something like this to work, but it does not:
if (myStringValues is [{} myString, _] )
something(myString)