title: assign value to a new list using linq
body: <p>Let's say I have a class called Company</p>
  
  <pre><code>public class Company 
  {
     public string name;
     public string id;
  }
  </code></pre>
  
  <p>I have a list called CompanyList</p>
  
  <pre><code>var companyList = new List&lt;Company&gt;();
  </code></pre>
  
  <p>I would like to assign name = "Company A", id = "001" to this empty <code>companyList</code> variable.</p>
  
  <p>How do I do so?</p>
  
  <pre><code> companyList.FirstOrDefault().Name = "Company A";
   companyList.FirstOrDefault().Id = "001";
  </code></pre>