private static void OnWorkPerform(object sender, FileWriterWithProgress e) { Console.WriteLine("testing"); }
static void Main(string[] args) { var work = new FileWriterWithProgress(); work.Work += OnWorkPerform; }