摘要:
//这是 List<T>.Find(Predicate<T> predicate) 的源代码。public T Find(Predicate<T> match){ if (match == null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.match); } for (int i = 0; i < this._size; i++) { if (match(this._items[i])) { return this._items[i]; } } return defa... 阅读全文