title: Add item to an anonymous list
body: <p>I have a list of anonymous type </p>
  
  <pre><code>var myList = db.Products.Select(a =&gt; new {a.ProductName, a.ProductId, 
  a.Priority}).ToList();
  </code></pre>
  
  <p>And I want to add an other item to this list like</p>
  
  <pre><code>myList.Insert(0, new { "--All--", 0, 0}); //Error: Has some invalid arguments
  </code></pre>
  
  <p>I also tried</p>
  
  <pre><code>myList.Add(new { "--All--", 0, 0}); //Error: Has some invalid arguments
  </code></pre>
  
  <p>How can I do that?</p>
  
  <p>Edit:</p>
  
  <p>I did this after first answer </p>
  
  <pre><code>var packageList = db.Products.Select(a =&gt; new { 
           a.ProductName, a.ProductId, a.Priority }).ToList();
  
  packageList.Insert(0, new { ProductName = "All", ProductId = 0, Priority = 0 });
  </code></pre>
  
  <p>but same error again.</p>