Hi All,

I have to read a fixed length file which has about 52000 entries and store
these entries into a database table. I have created a new type and it has
properties which are mapped to the columns in the file. I have created a
collection class to store all the instances. The collection class inherits
from the CollectionBase class. Therefore, internally I am adding all the
instances to the ArrayList.

I am just thinking about whether I should be creating the new type as a
struct or a class i.e. value type or reference type. I am asking this just
to check on the performance as it has very large number of entries in it.
The type has some 19 fields out of which 2 are DateTime, 2 integers and one
char, and rest are string values.

Kindly suggest


Thanks in advance,

Regards,
Girish Jain

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to