code: public static class EnumerableExtensions
{ public static T Find<T>(this IEnumerable<T> enumerable, Predicate<T> match)
{ return enumerable.Find(match);
}
}調用:ErpDic.Value.AsParallel().Find(x => x.code == code)ErpDic是個 private Lazy<List<sys_dict_common>> ErpDic;為什么這個 擴展方法find 進入了無限遞歸呢?不明白。
- 2 回答
- 0 關注
- 791 瀏覽
添加回答
舉報
0/150
提交
取消