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
class NewString { public int ID { get; set; } public string Name { get; set; } } public NewString Test() { return ( new NewString() { ID = 5, Name = "Dave" } ); }
:)