public static TimeSpan Test(Func <CtorSource> func, int count) { var sw = new Stopwatch(); sw.Start(); for (var i = 0; i < count; i++) { Value = func(); } sw.Stop(); return(sw.Elapsed); }
public CtorSource(int i, double level, CtorSource parent) { }