diff --git a/docs/CollectionBestPractices.md b/docs/CollectionBestPractices.md index f44d364c3f..921dc85dc4 100644 --- a/docs/CollectionBestPractices.md +++ b/docs/CollectionBestPractices.md @@ -53,7 +53,7 @@ > **Be mindful of ToArray()** > > Calling `ToArray()` on a collection will create a new array and copy content from the collection into it. So, when -> the exact capacity is known up front, it is an anti-pattern to create a `List` withwout that capacity, fill it +> the exact capacity is known up front, it is an anti-pattern to create a `List` without that capacity, fill it > with items and then call `ToArray()` at the end. This results in extra allocations that could be avoided by creating > an array and filling it.