> Is it possible to return two string values from a method which has
> yeild in it?
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).

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
CSharper - 25 Mar 2008 15:05 GMT
> > Is it possible to return two string values from a method which has
> > yeild in it?
[quoted text clipped - 7 lines]
> Jon Skeet - <sk...@pobox.com>http://www.pobox.com/~skeet Blog:http://www.msmvps.com/jon.skeet
> World class .NET training in the UK:http://iterativetraining.co.uk
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.