Hi all, i`am asking a new question, since the previouse one was in another purpose(the one on serializing)
I have a list of items which r binded to database, and i want to serialize the database rows to file (on runtime!!), and in the future to deserialize them. now as we know, i have to go through all the rows in my database and create new object to each row and serialize it to the file. the prob is that if we have 10000 rows in my database, then it's 10000 allocations of objects which eventually will be serialized.. any idea how to avoid this mass-allocation?
Thanks!