protected void DebugPrint(string debugMsg) { if (this.debug && debugMsg.Length > 0) { Console.WriteLine(debugMsg); } }