I have a class called called "Ticket" that will represent a ticket bought for a show. The class has public properties like "price", "date", ticket-type". This works OK becuase each property just takes a string, date or integer value.
My problem is dealing with the age groups that will belong to the ticket. For each ticket there may be a number of different age group properties.
For example 1 "real world" ticket may be for 6 people - 2 aged 18-65, 2 aged 3-17 and 2 aged 0-2.
How do I represent this is my class? Do I need to create separate properties for each possible age group or is there a more sophisticated way to tackle this? Such as an array property of an object?
Please go easy on me as I'm a relative beginner.