- Code: Select all
internal class MyDebug {
[Conditional("DEBUG")]
public static void Assert(bool flag, string text) {
if (!flag) Console.WriteLine(new Exception(text));
}
}
by TomatoGG » August 3rd, 2010, 11:33 pm
internal class MyDebug {
[Conditional("DEBUG")]
public static void Assert(bool flag, string text) {
if (!flag) Console.WriteLine(new Exception(text));
}
}
by Oliver » August 4th, 2010, 10:36 am
by TomatoGG » August 4th, 2010, 8:23 pm