摘要:
4.0版public static T Execute<T>(Func<T> func, int timeout){ T result; TryExecute(func, timeout, out result); return result;}public static bool TryExecute<T>(Func<T> func, int timeout, out T result){ var t = default(T); var thread = new Thread(() => t = func()); thread.Start 阅读全文
posted @ 2012-03-21 11:45
花生!~~
阅读(274)
评论(0)
推荐(0)
浙公网安备 33010602011771号