摘要: 现在有更方便的实现方式: static void Main(string[] args) { string input = " "; Task.Factory.StartNew(() => { input = Console.ReadLine(); }).Wait(10 * 1000); Console.WriteLine(input); } 以下是原来... 阅读全文
posted @ 2015-04-29 16:59 假如 阅读(2840) 评论(0) 推荐(0) 编辑