dotnet / dotnet/dotnet-api-docs
What does Dictionary<TKey,TValue>.EnsureCapacity(Int32) Method do?
- 主要言語
- C#
- スター
- 950
- フォーク
- 1.7k
- 平均マージ
- 2日 19時間
- マージ済み PR(30日)
- 52
説明
Does it allocate space or just check to see if the space is currently allocatable? In bytes or element count?
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: c24739cd-50ff-e3b1-a5b7-5e43fea977b0
* Version Independent ID: 39331194-8f05-25b9-88bb-5f77a0c53e95
* Content: [Dictionary<TKey,TValue>.EnsureCapacity(Int32) Method (System.Collections.Generic)](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.ensurecapacity?view=netcore-2.1&viewFallbackFrom=netframework-4.7.2)
* Content Source: [xml/System.Collections.Generic/Dictionary`2.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Collections.Generic/Dictionary`2.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
コントリビューションガイド
調査の方向性
Start with xml/System.Collections.Generic/Dictionary`2.xml and the linked Dictionary.EnsureCapacity(Int32) API page. Confirm whether the method allocates capacity or only checks availability, and whether its argument refers to bytes or elements. Done means the API documentation answers both questions clearly.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 48/100