.NET Fiddle

CSharp · Console

/Program.cs

using System;
					
public class Program
{
	class Hoho
	{

		public static bool operator ==(Hoho a, Hehe b)
		{
			return false;
		}
		public static bool operator !=(Hoho a, Hehe b)
		{
			return false;
		}
	}
	class Hehe
	{
		public static bool operator ==(Hehe a, Hoho b)
		{
			return true;
		}
		public static bool operator !=(Hehe a, Hoho b)
		{
			return true;
		}
	}

	public static void Main()
	{
		var hehe = new Hehe();		
		Console.WriteLine(hehe == null);
		Console.WriteLine(null == hehe);
	}
}
;