title: Exclude last element in a loop
body: <p>I have a loop in my app. Code is following :-</p>
  
  <pre><code>foreach (DataRow dr in dt.Rows)
      ColorNames +=dr["ColorName"].ToString() + "\n";
  </code></pre>
  
  <p>But i don't want to add <code>\n</code> at the last <code>Datarow</code>. Any suggestion how to do it?</p>