Using Large Lists

Posted by cam on Stack Overflow See other posts from Stack Overflow or by cam
Published on 2010-03-30T12:08:27Z Indexed on 2010/03/30 12:13 UTC
Read the original article Hit count: 311

Filed under:
|

In an Outlook AddIn I'm working on, I use a list to grab all the messages in the current folder, then process them, then save them. First, I create a list of all messages, then I create another list from the list of messages, then finally I create a third list of messages that need to be moved. Essentially, they are all copies of eachother, and I made it this way to organize it. Would it increase performance if I used only one list? I thought lists were just references to the actual item.

© Stack Overflow or respective owner

Related posts about c#

Related posts about list