C#: What is the best collection class to store very similar string items for efficient serialization

Posted by Gregor on Stack Overflow See other posts from Stack Overflow or by Gregor
Published on 2010-03-24T10:15:23Z Indexed on 2010/03/24 10:23 UTC
Read the original article Hit count: 380

Filed under:
|
|

Hi,

I would like to store a list of entityIDs of outlook emails to a file. The entityIDs are strings like:

"000000005F776F08B736B442BCF7B6A7060B509A64002000" "000000005F776F08B736B442BCF7B6A7060B509A84002000" "000000005F776F08B736B442BCF7B6A7060B509AA4002000"

as you can notice, the strings are very similar. I would like to save these strings in a collection class that would be stored as efficiently as possible when I serialize it to a file. Do you know of any collection class that could be used for this?

Thank you in advance for any information... Gregor

© Stack Overflow or respective owner

Related posts about c#

Related posts about collection