View gist:d51bdb8f1ef81fcc7e6c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IEnumerable<string> values = Enumerable.Repeat("Foo", 100); | |
Stopwatch watch = new Stopwatch(); | |
watch.Start(); | |
Console.WriteLine(String.Join("<br/>", values)); | |
Console.WriteLine("Performance with Join: {0}", watch.Elapsed); | |
// "Performance with Join: 00:00:00.0001146" |