public static void Main()
if (TestA() && TestB() && (TestC() || TestD()))
Console.WriteLine("Hello World");
public static bool TestA() {
Console.WriteLine("OK (A)");
public static bool TestB() {
Console.WriteLine("OK (B)");
public static bool TestC() {
Console.WriteLine("Oops (C)");
public static bool TestD() {
Console.WriteLine("Oops (D)");