public static void WriteIf(bool condition, string message) { if (condition) { Write(message); } }
public static void WriteIf(bool condition, string message, string category) { DBG.WriteIf(condition, message, category); }