How do you keep the list of attached e-mails in Settings.settings?



  • How can a collection of written files be maintained in Settings.settings? List<string> or AttachmentCollectionbut the studio doesn't allow any of these types to be selected in "type."



  • var stringCollection = new System.Collections.Specialized.StringCollection { "attachment1", "attachment2" };
            Properties.Settings.Default.Setting = stringCollection;
            Properties.Settings.Default.Save();
    




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2