Quick cleanup of comments. Complete.

This commit is contained in:
Kira 2022-09-19 12:28:03 -07:00
parent 8c9d472617
commit 2e088a5c6d
1 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,8 @@ Console.WriteLine();
/*
* By retrieving a list of the items from the function, you mitigate the issue
* of returning to the function later, as the data is saved as a list to a variable.
* of returning to the function later, as the data is returned as a list to
* the variable customersList.
*/
Console.WriteLine("_______________________________________");
@ -64,7 +65,7 @@ IEnumerable<Customer> GetCustomersList()
{
Console.WriteLine("Inside GetCustomersList()");
var list = new List<Customer>();
var lines = File.ReadAllLines("../../../customers.csv"); //For some reason the program starts an extra 2 deep into bin/Debug
var lines = File.ReadAllLines("../../../customers.csv");
foreach (var line in lines)
{