Skip to content

Instantly share code, notes, and snippets.

@robertgreiner
Created December 28, 2011 18:51
Show Gist options
  • Save robertgreiner/1529152 to your computer and use it in GitHub Desktop.
Save robertgreiner/1529152 to your computer and use it in GitHub Desktop.
conditionally execute debug code
/* using System.Diagnostics; */
[Conditional("DEBUG")]
public void printDebug() {
Console.WriteLine("Debug Information");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment