When your in a situation where you need to return two things in a single method, what is the best approach?
I understand the philosophy that a method should do one t
I think the most preferred approach is to build a container (may it be a class or a struct - if you don't want to create a separate class for this, struct is the way to go) that will hold all the parameters to be returned.