摘要:
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 阅读全文