Author: allendehl | Posted on: 9/26/2008 10:49:33 AM | Views : 636

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 for this. What do you think is the most suitable Collection type to use in this case?

 

Thanks a lot

 
...

Go to the complete details ...