title: IEnumerable cannot be used with type arguments
body: <p>I would like to use a data list for showing the usernames and their comments and attachments for each comment below the user name.</p>
  
  <p>I have a user control <code>ReviewList</code>for showing the comments and <code>efiles</code> in that. But I have error in this line (s.tblDraft.Comments) and an error below: </p>
  
  <pre><code>The non-generic type 'System.Collections.IEnumerable' cannot be used with type arguments
  </code></pre>
  
  <p>Please help. What is the problem?</p>
  
  <pre><code>private void Displayuser()
  {
      var reviews =
        (from s in _DataContext.tblSends
         from u in _DataContext.Users
  
         where (s.DraftId == _Draftid) &amp;&amp; (s.ToEmailId == u.ID)
         orderby u.Name
         select new
  {
      userid = u.ID,
      username = u.Name,
      comments =s.tblDraft.Comments,
      w = s.tblDraft.Comments.SelectMany(q =&gt; q.CommentAttaches)
  
  }).Distinct();
  
      DataList1.DataSource = reviews;
      DataList1.DataBind();
  
      var theReview = reviews.Single();
  
      DisplayReviews(theReview.comments, theReview.w);
  }
  
  private void DisplayReviews(IEnumerable&lt;Comment&gt; comments,
       IEnumerable&lt;CommentAttach&gt; w)
  {
      ReviewList reviewList = (ReviewList)DataList1.FindControl("ReviewList1");
      reviewList.Comments = comments;
      reviewList.CommentAttachs = w;
      reviewList.DataBind();
  }
  </code></pre>