Several times now I have come across the situations where you have some kind of settings class that simply contains a mass of data. Often these classes are simply not valid without at least most of the data.
However a constructor like this:
public dataclass (int v1, int v2, int v3, int v4,
string v5, double v6, string v7, int v8,
Internalclass v9, string v10,
double v11, double v12, int v13, int v14)
{
this.v1=v1;
this.v2=v2;
...
this.v14=v14;
}
feels like it's not good code practice. Now I could try to group some of these variables together but often these variables only make sense in the context of the data class. So what is a good way to design such a data class?