摘要: class Student{ public string Name { get; set; }}static double Test(int loop, Student stu, Func<Student, string> action){ var watch = Stopwatch.StartNew(); string s = null; for (var i = 0; i < loop; i++) s = action(stu); return watch.ElapsedTicks;}static Func<Student, string> NativeGet 阅读全文
posted @ 2011-05-01 00:18 dragonpig 阅读(1701) 评论(2) 推荐(0) 编辑