It's not clear what you mean. Do you mean you want to yield elements
which each have a pair of strings? If so, encapsulate that pair of
strings in another type, then make the return type
IEnumerable<PairOfStrings> (or whatever).
It's not clear what you mean. Do you mean you want to yield elements
which each have a pair of strings? If so, encapsulate that pair of
strings in another type, then make the return type
IEnumerable<PairOfStrings> (or whatever).
Thanks Jon, My current implementation is exactly the same. But what I
am trying to see if I can reduce the consuming objects dependency to
another new class (in this case the pairofstrings). I think you are
right, if it is the only wau, I will stay on the same approach.
Thanks again for the time.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.