My last question was about getting the string representation of an object serialized to XML. One of the responders wrote an extension method to encapsulate the serialization process.
My question now is how can I use an Extension Method to return an array of strings, when passed an IEnumerable<T>
object, where each string
in the array would be an individually serialized element of the IEnumerable<T>
.
Thanks in advance!