using System; public class Test { public static void Main() { var test = new AlwaysTrue(); if (test) { Console.WriteLine("This is true!"); } if (test == true) { Console.WriteLine("This is also true!"); } if (test == false) { Console.WriteLine("This can't possibly be true!"); } if (test != true) { Console.WriteLine("Now you're just being silly"); } if (test != false) { Console.WriteLine("wut"); } } class AlwaysTrue { public AlwaysTrue() { } public static bool operator ==(AlwaysTrue me, bool other) { return true; } public static bool operator !=(AlwaysTrue me, bool other) { return true; } public static implicit operator bool(AlwaysTrue me) { return true; } } }