title: Linq query to select top 20 items of a list with a length restriction on its property
body: <pre><code>  public IList&lt;TagWithCount&gt; GetTagList()
          {
          var query=(from c in this.Query() where c.coupons.Where(d =&gt; d.isPublish == true).Count() &gt; 2 select new TagWithCount { tag = c, count = c.coupons.Count }).ToList().OrderBy(x =&gt; Guid.NewGuid()).Skip(0).Take(75).ToList();
          return query;
      }
  </code></pre>
  
  <p>THis is the method which i am calling ..</p>
  
  <pre><code>  var a = context.tagService.GetTagList().Distinct(c =&gt; c.tag.name.Trim()).ToList() ;
  return View(a.Take(20));
  </code></pre>
  
  <p>I want to return 20 tags but not greater than 20 words or less then 4</p>