protected virtual void log(string msg) { Console.WriteLine(msg); System.Diagnostics.Debug.Print(msg); } }