I have a class that used to have a string return type. Now I find I need to return more than a string. I was thinking to return something like below:
public
Anonymous type are class type that are derived directly from object.
Anonymous type
object
You can return it from method as object as return type. Have a look at this.