title: How to add hardcoded values for an Employee class
body: <p>I would like to know what is the syntax for declaring an Employee class with multiple hard coded records</p>
  
  <pre><code>Employee objEmployee = new Employee() {Name="Sumanth",Id=101,Salary=5000.00 };
  </code></pre>
  
  <p>The above code is for single record. </p>
  
  <p>What is the syntax for creating multiple records?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I would like to know what are the ways I can create multiple records along with /without the List. When I use List, I can get features like IEnumerable, IQueryable etc.</p>