Checking if a handful of timespans overlap

curiouswebster
curiouswebster used Ask the Experts™
on
is there an automated way to find if timespans overlap?

I guess I could check each timespan if it overlaps with every other timespan. I could iterate through them all and assemble a list of those which overlap.

To test it it overlaps is not complicated. But are there any built in functions of TimeSpan or DateTime that could help?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial