public static string GetResults() { StringBuilder sb = new StringBuilder(); foreach (KeyValuePair<string, Stopwatch> kvp in AllStopwatches) { sb.AppendLine(kvp.Key + '\t' + kvp.Value.Elapsed.TotalMilliseconds.ToString()); } return sb.ToString(); }