title: Return every item in a list from a foreach
body: <pre><code>List&lt;object&gt; li = new List &lt;object&gt;(Items);
  string name = "";
  foreach (var item in Items)
  {
      name = item["title"].ToString();
  }
  return name;
  </code></pre>
  
  <p>Using this code snippet, I can't find a way for to change the return to output <em>all</em> items from the list. As is, it only returns the last item. How can I get every item returned?</p>