Here's my scenario. I am given records and the datastructure of each column in the records at runtime. A sample looks like this,
char | int16 | int32 | double abcd | 2 | 96 | 1024 ghi | 3 | 104 | 2048
I cannot predefine a structure because I dont know what data types I am gonna be given.How can I store the records? I was thinking of declaring a multidimensional double array and typecasting all the records and then casting back whenever necessary. Does this seem sensible? Is there a better solution?