title: String.Join on a list of objects
body: <p>In C#, if I have a <code>List&lt;MyObj&gt;</code> where <code>MyObj</code> is a custom class with an overridden <code>ToString()</code> method such that each <code>MyObj</code> object in the List can be easily converted to a string.</p>
  <p>How can I <em>join</em> this <code>List&lt;MyObj&gt;</code> with a delimiter, such as for example a pipe (|) into a single string.</p>
  <p>So, if I had 3 MyObj objects whose ToString methods would produce AAA, BBB, CCC respectively. I would create a single string: AAA|BBB|CCC.</p>
  <p>For a list of a simpler type, such as <code>List&lt;string&gt;</code>, I perform this simply as: <code>String.Join(&quot;|&quot;, myList.ToArray());</code>.  Is there a way I can do something similar to that?  Or am I forced to iterate over the Object List and use a StringBuilder to append each object's ToString in the list together?</p>