Each of my object has these values: 2 short strings, 2 doubles and 5 TextBlocks (for a Windows app).
I have about 30 of these objects.
I will need to iterate through these objects regularly.
I have some ideas but want your independent suggestions for ease of iteration and selection of values from these objects.
One consideration is that the size of the collection is static, it doesn’t need to grow.
The properties in your object should not affect the type of collection you choose. The key is the fact that the number of items in your collection remains static, so a list is overkill. I would use a typed array like MyClass[]. You can still use LINQ to query the array and filter by any public property.