Class NiceDictionary<TKey, TValue>
A dictionary of values where the indexer will return the default value for keys that don't map to an item.
Namespace: Neon.Collections
Assembly: Neon.Common.dll
Syntax
public class NiceDictionary<TKey, TValue> : Dictionary<TKey, TValue>
Type Parameters
Name | Description |
---|---|
TKey | The key type. |
TValue | The value type. |
Properties
this[TKey]
Accesses the value associated with a specified key.
Declaration
public TValue this[TKey key] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
TKey | key | The key. |
Property Value
Type | Description |
---|---|
TValue | The associated value or the |