static void Main(string[] args) { // create some e-mail addresses to receive notifications EmailService email1 = new EmailService("*****@*****.**"); EmailService email2 = new EmailService("*****@*****.**"); // create a notifier and register the notification services ConsoleReader reader = new ConsoleReader(); reader.Attach(email1); reader.Attach(email2); // go! reader.ReadLines(); }