Quick cleanup of comments. Complete.
This commit is contained in:
parent
8c9d472617
commit
2e088a5c6d
|
@ -26,7 +26,8 @@ Console.WriteLine();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* By retrieving a list of the items from the function, you mitigate the issue
|
* 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("_______________________________________");
|
Console.WriteLine("_______________________________________");
|
||||||
|
@ -64,7 +65,7 @@ IEnumerable<Customer> GetCustomersList()
|
||||||
{
|
{
|
||||||
Console.WriteLine("Inside GetCustomersList()");
|
Console.WriteLine("Inside GetCustomersList()");
|
||||||
var list = new List<Customer>();
|
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)
|
foreach (var line in lines)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue