title: Console App...Objects of a Class
body: <p>I have created 2 classes. One class has instance variables, default constructor, constructor with parameters, properties and one function/method. the second class, contains my main method and is required to read data from a txt. file and then save the data to the 3 different objects. </p>
  
  <p>I created 3 objects that look like this
  NewEmployee employee1 = new NewEmployee();</p>
  
  <p>this is what my code looks like to read the text file</p>
  
  <pre><code>    using (StreamReader stream = new StreamReader(@"C:\Users/path))
      {
  
      while((line = stream.ReadLine()) != null)
      {
          Console.WriteLine(line);
      }
  </code></pre>
  
  <p>How do I save the data from the text file to each object?
  This is what the text file looks like:
  First Name
  Last Name
  IdNUm
  Start Year
  Initial Salary
  repeats 2x</p>