return struct from asp.net web service method
I am trying to return a basic struct (just testing for the moment... it's mad up of only int data types) from a web method, but it tells me that I can't because it doesn't implement IEnumerable. I looked up how to implement IEnumerable, but the only information I can find is on how to implement it for an object that is used as a container for a collection or array. I want to just return a single object. is that even possible? if so, how would I go about doing it?