View Code
using System;
using System
Collections
Generic;
using System
Linq;
using System
Text;
using System
Threading;
using System
Diagnostics;
namespace CSharpStudy
{
class Program
{
static void Main(string[] args)
{
Helper
Watch(() =>
{
var str = new StringBuilder()
for (var i =
; i <
; i++)
{
str
Append(i)
}
})
Helper
Watch(() =>
{
var str =
;
for (var i =
; i <
; i++)
{
str += i;
}
})
Helper
Watch(() =>
{
var str =
;
for (var i =
; i <
; i++)
{
str += i
ToString()
}
})
}
}
From:http://tw.wingwit.com/Article/program/net/201311/13672.html