October 24th, 2010, 12:27 PM
Best collection for
Hi all, im working on a message queue system. I wish to send events (A custom class not a c# event) in bulk to several applications in turn as new events come in. I want to take all the Outbound objects in the list/queue that have the address/identefier of the application they are destined for, pack them up in a bundle and ship them off. Im used to JAVA Vector<datatype> which made it easy to filter through quite easily. I dont have that in C#, could anyone please suggest which collection class would be best for this purpose. part of the problem is ide want to use the ID as a key, but i cant find the collection type that allows for indexing with multiple entrys with the same key.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.