المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : [Answered] Creating a list/collection containing different object types [modified]



C# Programming
08-30-2009, 08:23 PM
I am analysing data which contains several different object types and would like to get them in a single collection but need to keep them in order.
I could use a dictionary and lists of each type but it would be easier (and maybe quicker) if I could have a single collection of the objects as the order the lists are in the original data is important.
Any suggestions on a reasonable method?
Thanks.

Elaine http://barakasoft.com/script/Forums/Images/rose.gif

Visit http://www.notreadytogiveup.com/[^ (http://www.notreadytogiveup.com/)] and do something special today.

modified on Sunday, August 30, 2009 12:16 PM