I have a CSV file with the following format: first name, last name, date of birth, date of death. How can i get all the datas from my CSV file and convert them into an object list?
I was thinking about implementing the following class
public class Person { private string f_name; private string l_name; private int dob; private int dod; public Person(string first, string second, int dob, int dod) { this.f_name = first; this.l_name = second; this.dob = dob; this.dod = dod; } }