static void JarvisMarchDemo() { JarvisMatch jm = new JarvisMatch(); var stopwatch = new Stopwatch(); stopwatch.Start(); jm.convexHull(listPoints); stopwatch.Stop(); float elapsed_time = stopwatch.ElapsedMilliseconds; Console.WriteLine("Elapsed time: {0} milliseconds", elapsed_time); Console.WriteLine("Press enter to close..."); Console.ReadLine(); }