Please don't take this seriously! - Community wikied
Satire is always fun.
Try to come up with the most shocking, disturbing or politically incorrect class you can think of. (But please no racism or anything seriously offensive or anything that can't be interpeted as satire).
I'll go first with my example:
public class Person
{
public bool Female;
public Person(bool female)
{
Female = female;
}
public static bool operator <(Person j1, Person j2)
{
if (j1.Female && !j2.Female)
return true;
else
return false;
}
public static bool operator >(Person j1, Person j2)
{
if (!j1.Female && j2.Female)
return true;
else
return false;
}
public static bool operator <=(Person j1, Person j2)
{
if ((j1.Female == j2.Female) || (j1.Female && !j2.Female))
return true;
else
return false;
}
public static bool operator >=(Person j1, Person j2)
{
if ((j1.Female == j2.Female) || (!j1.Female && j2.Female))
return true;
else
return false;
}
}