Quote:
Originally Posted by JoeyMonco
Why do you need a whole class simply to write a utility function? Just write a simple function that just uses a switch statement to return the value based on the integer.
|
Switch or if's is what I used to do, but with all the new data formats, it's getting very messy.