title: LiteoDB and var List inserts C#
body: <p>I'm trying to use LiteDB, I have the following:</p>
  
  <pre><code>var list2 = new List&lt;Values&gt;();
  </code></pre>
  
  <p>I've been looking at the LiteDB examples which is the following:</p>
  
  <pre><code>// Get customer collection
  var col = db.GetCollection&lt;Customer&gt;("customers");
  
  var customer = new Customer { Id = 1, Name = "John Doe" };
  
  // Insert new customer document
  col.Insert(customer);
  
  // Update a document inside a collection
  customer.Name = "Joana Doe";
  
  col.Update(customer);
  
  // Index document using a document property
  col.EnsureIndex(x =&gt; x.Name);
  </code></pre>
  
  <p>Is there any way I can insert a list of type Values in my case it would be: var list2 = new List();</p>
  
  <p>I can't seem to find anywhere that inserts this way.</p>
  
  <p>Thanks,</p>