A method that tries to get a value.
public bool TryGetValue(out object? value)
public bool TryGetValue<T>(out T value)