Last active
August 12, 2017 21:45
-
-
Save geoffreymcgill/8bf7416d339f5460004dff6f53a8559d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
namespace Demo | |
{ | |
public class App | |
{ | |
public static void Main() | |
{ | |
// Only call in DEBUG build mode | |
App.Check(); | |
} | |
[Conditional("DEBUG")] | |
private static void Check() | |
{ | |
Console.WriteLine("FAIL"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment