gb beeee

gb beeee

  • NA
  • 1
  • 1.3k

Settings.settings save Pattern type

May 18 2013 9:24 AM
I am trying to define Patterns on which an E-Mail is saved, in code i have been quite succesfull doing it like this:

 string Pattern0 = SafeFileName(currMail.SenderName);
 string Pattern1 = string.Join(" ", currMail.Subject.Split(' ').Take(3).ToArray());
 string Pattern2 = (Convert.ToDateTime(currMail.CreationTime).ToString(" dd-MMM-yyyy HH-mm"));


and then i tried to save the Patterns on Properties.Setting, I Chose string, but that makes everything a string, as opposed to making them useful like they are above. Does anybody know what it is that i could use, to save the Settings above in the Settings.settings file. Thanks a lot in Advance