If this is really a key-value pair, then that seems pretty reasonable..NET 4.0 will include the correct Tuple class for cases where key-value relationships are missing.
An alternative is to use the out / ref parameters, which allow the caller to decide whether to keep the values ββtogether, but I prefer the KeyValuePair approach when the obvious relationship and the caller are most likely to want to keep them together.
source share