static void Main(string[] args) { var sw = new Stopwatch(); DestructSample obj = new DestructSample(0); for (int i = 1; i < 100000; i++) { obj.Generator(i); } WriteLine("Done."); ReadKey(); }
public void Generator(int i) { DestructSample destructSample = new DestructSample(i); }