title: C# How to create a list of classes
body: <p>I am new to c#, but not to programming. First of, thank you so much for your help!</p>
  
  <p>I want a class or struct whichever is appropriate which has 3 variables. A string, and two datetimes.</p>
  
  <p>I want to create a loop which stores new classes in a list.</p>
  
  <p>Something like:</p>
  
  <p>for each item in dataViewer<br>
  create new class<br>
  assign variables<br>
  store class in list<br>
  next  </p>
  
  <p>Thank you so much for your help</p>