title: How display the last n of records in MVC
body: <p>i am taking last 4 four comments and want to display in the tooltip,
  I am doing the below code but its showing the contents like <code>"System.Collection.Generic.List"</code></p>
  
  <pre class="lang-cs prettyprint-override"><code>var list = db.PO_Prd_Comments.Where(t =&gt; t.PO_TrgCal_ID == item.ID &amp;&amp; t.Reply == false).OrderByDescending(t =&gt; t.PO_TrgCal_ID).Take(4).ToList();
  List&lt;string&gt; comments = new List&lt;string&gt;();
  if (list.Count != 0)
  {
      foreach (var ts in list)
      {
          comments.Add(ts.PrdComment);
          if (list.Count == 1)
          {
              notify = list.SingleOrDefault().notify;
          }
          else
          {
              notify = true;
          }                                      
      }                                                  
  } 
  
  &lt;td&gt;
      &lt;a href="#" onclick="popup4(@CountID)" title="@comments"
      &lt;img src="~/Images/comment.GIF"/&gt;&lt;/a&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>How i display these four comments in the tooltip.</p>