title: Find exceptions in jagged array of strings (C#)
body: <p>I have some data that I read into a jagged array of strings. An example of such arrays:</p>
  
  <pre><code>string[] row = { "John", "Apple", "Orange", "Banana" };
  </code></pre>
  
  <p>and I will have an array to hold these rows of strings. A very long one. </p>
  
  <p>What I want to do is find all the rows with the same name ("<strong>John</strong>"). Then compare these rows to see if they are identical. Print all of them if there are any exceptions, otherwise continue to next name.</p>
  
  <p>So for example if I have 10 rows of "<strong>John</strong>"s, I want to check whether the attributes on all 10 of them are exactly "<strong>Apple</strong>", "<strong>Orange</strong>" and "<strong>Banana</strong>". And I will have thousands of names other than "<strong>John</strong>" that I want to do the same thing with.</p>
  
  <p>Is there an efficient algorithm to do this? I will be writing it in C#.</p>