Collections or arrays would be my preference. Making changes or adding additional fields would be easy. In your first example, you could do everything in one loop. You don't need a separate loop per attribute. Your code would be tiny after removing the extra loops.