未验证 提交 01f701c9 编写于 作者: E Eirik Tsarpalis 提交者: GitHub

Fix grammatical error in #75831. (#75835)

上级 c2249c8f
...@@ -866,8 +866,8 @@ public int LastIndexOf(T item, int index, int count) ...@@ -866,8 +866,8 @@ public int LastIndexOf(T item, int index, int count)
return Array.LastIndexOf(_items, item, index, count); return Array.LastIndexOf(_items, item, index, count);
} }
// Removes the first occurrence given element, if found. The size of the list is // Removes the first occurrence of the given element, if found.
// decreased by one. // The size of the list is decreased by one if successful.
public bool Remove(T item) public bool Remove(T item)
{ {
int index = IndexOf(item); int index = IndexOf(item);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册