static void Main(string[] args) { DateTime start = DateTime.Now; DateTime last = start; Day1.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day2.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day3.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day4.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day5.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day6.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day7.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day8.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day9LinkedList.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day10.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day11.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day12.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day13.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day14.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day15Dijkstra.Run(false, 500); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day16.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day17.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day18.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day19.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day20.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day21.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day22.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day23.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day24.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Day25.Run(); Console.WriteLine("Run Time: " + (DateTime.Now - last)); last = DateTime.Now; Console.WriteLine("\nTotal Run Time: " + (DateTime.Now - start)); }
private void btn5_Click(object sender, EventArgs e) { Days.Day5 frm = new Day5(); frm.Show(); }