LINQ select non-empty strings

Viewed 19961

There is a struct S with 2 string fields: A and B.

I want to convert an array of S into string array, containing all non-empty unique As and Bs. What is the most efficient way for that?

Regards,

1 Answers
Related