diff options
author | Toby Vincent <tobyv13@gmail.com> | 2021-04-20 17:58:37 +0000 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2021-04-20 17:58:37 +0000 |
commit | 3af8b7c9846e34fdf39f0364394c40f3c833d465 (patch) | |
tree | 77c287e623c9c8a7f04c862ec7483884bf7ad87a /src/CS340.TSP/Program.cs | |
parent | 6bfed779552aa2fa05d83513ce78c9b04745db97 (diff) |
changed foreach var name
Diffstat (limited to 'src/CS340.TSP/Program.cs')
-rw-r--r-- | src/CS340.TSP/Program.cs | 4 |
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( |