Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32756

returning largest int variable from object

$
0
0
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.

Viewing all articles
Browse latest Browse all 32756

Trending Articles