how to merge C# code of two similar but separate programs?
问题 ok so i have two programs. Code at end. one is a gmail notifier that outputs the number of unread mails over serial like: <02,> etc. then i have a program that gets system(pc) temps and outputs them to serial also like: <30,42,50,> etc they both output the same data and same format (<XX,>) at different time intervals(with different values each time). so the mail one checks every 5 minutes for mail, then outputs to serial the number of mails. but the temp program outputs the data over serial