static public TimeSpan GetExecutionTime(Action action)
{
Stopwatch watch = new Stopwatch();
watch.Start();
action();
watch.Stop();
return watch.Elapsed;
}