1
Answer

returning largest int variable from object

Ask a question
Rich

Rich

11y
1.9k
1
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.

Answers (1)