title: Efficiently find unique elements in 2-dim array T[][] in C#
body: <p>One solution to extract unique values would be to apply <code>Array[i].Distinct()</code> to each row and then form the list of all the unique elements from each row. Then we can repeat for this list <code>List.Distinct()</code>.</p>
  
  <p>But is there more efficient way how to create <code>T[] UniqueValues</code> out of <code>T[][] Data</code>? Thanks</p>