summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/CS340.TSP/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CS340.TSP/Program.cs b/src/CS340.TSP/Program.cs
index b2f6811..16c041c 100644
--- a/src/CS340.TSP/Program.cs
+++ b/src/CS340.TSP/Program.cs
@@ -15,9 +15,9 @@ namespace TSP
// https://swharden.com/CsharpDataVis/drawing/3-drawing-in-wpf.md.html
static void Main(string[] args)
{
- foreach (var item in Directory.GetFiles("graphs/"))
+ foreach (string file in Directory.GetFiles("graphs/"))
{
- Graph graph = GraphFile.Read(new FileReader(item));
+ Graph graph = GraphFile.Read(new FileReader(file));
// Graph mst = graph.MST(0);
// GraphFile.Print(mst, new ConsoleWriter());
// Console.WriteLine(