Currently viewing the category: "Framework"

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()
{
}