What is the most efficient way of returning or finding the largest int variable from an object. For example, object A has many int variables. I am just wandering is there a way to iterate through an object's variables without resorting to a long and drawn out if statement. |
|