IDictionary<TKey,TValue>.AsReadOnlyDictionary Method
Returns the dictionary as read-only dictionary.
public function AsReadOnlyDictionary: IReadOnlyDictionary<TKey, TValue>;
This method will not perform a copy but will return the same instance as IReadOnlyDictionary<TKey, TValue>.