Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Dictionary(TKey, TValue) Class / Advisable­Dictionary(TKey, TValue) Constructor / Advisable­Dictionary(TKey, TValue) Constructor (Int32)

AdvisableDictionary<TKey, TValue> Constructor (Int32)

Initializes a new instance of the AdvisableDictionary<TKey, TValue> class that is empty, has the specified initial capacity, and uses the default equality comparer for the key type.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.6.0 (6.1.6.0)
Syntax
C#
public AdvisableDictionary(
	int capacity
)

Parameters

capacity
Type: System.Int32
The initial number of elements that the AdvisableDictionary<TKey, TValue> can contain.
See Also