title: How to get a list in a MessageBox?
body: <p>How can I display the contents of a <code>string</code> list in the body of a message box?</p>
  
  <p>Here's what I have so far:</p>
  
  <pre><code>List&lt;string&gt; a = new List&lt;string&gt; {}; 
  foreach (DataGridViewCell cell in dgvC.SelectedCells) 
  { 
      a.Add(cell.Value.ToString()); 
  } 
  
  MessageBox.Show(a);  // doesn't work !?
  </code></pre>