I have the following class:
public class MailData : IDisposable
{
public IDictionary<String, Tuple<Byte[], String>> Attachments { get; set; }
public String From { get; set; }
public IList<String> To { get; set; }
public MailType Type { get; set; }
} // MailData
What would be the correct way to dispose the class?
I mean, I think I should remove all Byte[] from Dictionary ...
What about the other properties?