I've got ~20 columns in a grid each of which can be shown or hidden via a checkbox in another dialog.
The visibility state of any given column will be stored inside an XML file which is accessed via an Options class.
I'm trying to decide how best to represent those Boolean visibility values inside the Options class. I'm fairly sure I'll want properties exposing each column's visibility, but underneath those should there be a bool for each column or should I consider using a Dictionary or similar to hold all the column visibility values in one place?
The way I see it individual bools is probably a bit more robust and less likely to result in missing column values or some such, but a Dictionary would probably reduce the total amount of code.