摘要: using System; var funs = new Action[10]; for (var i = 0; i < 10; i++) funs[i] = () => Console.WriteLine(i); foreach (var fn in funs) fn(); 猜测这段代码运行结果 阅读全文
posted @ 2023-01-15 12:20 秦晓 阅读(90) 评论(0) 推荐(1) 编辑