title: How do I put the contents of a list in a single MessageBox?
body: <p>Basically, I have a list with multiple items in it and I want a single message box to display them all.</p>
  
  <p>The closest I have got is a message box for each item (using <code>foreach</code>).</p>
  
  <p>What I want is the equivalent of: </p>
  
  <pre><code>MessageBox.Show ("List contains:"+
  
  Foreach (string str in list) 
  { str + Environment.Newline + }
  
                  )
  </code></pre>
  
  <p>But obviously this won't work! What is the correct way of doing this?</p>