示例#1
0
 public int Add(string newSender, string newSubject, string newBody)
 {
     tempMessage = new MessageInfo(newSender, newSubject, newBody);
     messageList.Add(tempMessage);
     return(0);
 }
示例#2
0
 public MessageInfo(MessageInfo oldMessage)
 {
     mSender  = new string(oldMessage.Sender.ToCharArray());
     mSubject = new string(oldMessage.Subject.ToCharArray());
     mBody    = new string(oldMessage.Body.ToCharArray());
 }