Currently viewing the category: "Debugging"

In this example the compiler will ignore the method call for allĀ configurations except the DEBUG configuration.

[System.Diagnostics.Conditional("DEBUG")]
public static void SomeMethod()
{
}