operator [] method

dynamic operator [](
  1. TKey key
)
Gets or sets the Key.

Implementation

operator [](TKey key) {
  OutParam<Object> valueOutParam = OutParam();

  if (this.TryGetValue(key, valueOutParam)) {
    return valueOutParam.param;
  } else {
    return null;
  }
}