Gets an existing string from the cache, or adds it if it’s not currently in the cache.
public string? GetOrAdd(string? value)
parameter | description |
---|---|
value | The string value to look up. |
The unique cached instance of a String that is equal to value.