public static void Main(string[] args) { if (args is null) { throw new ArgumentNullException(nameof(args)); } Console.WriteLine("Start CSV File Reading..."); var _covidService = new CovidService(); var path = @"C:\Covid1.csv"; List <Models.Covid> lists = _covidService.ReadCSVFile(path); var resultData = lists; }