The one thing that confuses me sometimes is whether objects have an
overloaded operator like this or not. I think it's probably more to do with
the way the IDE presents this.
For example, in this case you've got completion intellisense type drop down
on the "." key press after date1... where as if you press the "-", it would
be nice to know what you can subtract from that object, and what the
resulting object would be. Just an idea.
"Jon Skeet [C# MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> <"Dan Bass" <danielbass [at] postmaster [dot] co [dot] uk>> wrote:
>> this is more readable than using Ticks...
>> TimeSpace ts = date1.Subtract( date2 );
>
> And this is even more readable, IMO:
>
> TimeSpan ts = date1-date2;
>
> --
> Jon Skeet - <(E-Mail Removed)>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too