You can overload operator true and false i looked at examples and found this http://msdn.microsoft.com/en-us/library/aa691312%28v=vs.71%29.aspx
I completely dont und
You will need to override & operator for && and | or ||.
Somthing like this: (Just a dummy code)
public static MyTimeSpan operator &(MyTimeSpan t, MyTimeSpan s) { return t; } public static MyTimeSpan operator |(MyTimeSpan t, MyTimeSpan s) { return t; }