public delegate void Worker(); private static Thread worker; public static void Init(Worker work) { worker = new Thread(new ThreadStart(work)); worker.Start(); } public static void Work() { AppLogic.SendMailTo("Something", "Something", true, "some.mail@gmail.com"); }
Init(Work);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)