From 2e088a5c6d589440620d32bebc8543d26c1dc6c0 Mon Sep 17 00:00:00 2001 From: Kira Date: Mon, 19 Sep 2022 12:28:03 -0700 Subject: [PATCH] Quick cleanup of comments. Complete. --- EnumerablePerformance/Program.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/EnumerablePerformance/Program.cs b/EnumerablePerformance/Program.cs index de8ff64..7bd7b28 100644 --- a/EnumerablePerformance/Program.cs +++ b/EnumerablePerformance/Program.cs @@ -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 GetCustomersList() { Console.WriteLine("Inside GetCustomersList()"); var list = new List(); - 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) {