What object should I use to create a collection class?
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi friends, I have to create a Message board. I'm planning to create a class for this, whick is going to include a collection of messages. This is the general idea: MessageBoard Class UserId Collection of Messages AddMessage() RemoveMessage(messageID) MarkAsRead(messageID) MarkAsUnread(messageID) Message Class MessageBoardId Text Read I have read some about Collections I saw some examples where they use ArrayList, SortedList and CollectionBase among others for this. What do you think is the most suitable Collection type to use in this case? Thanks a lot