I have two DateTime objects: StartDate and EndDate. I want to make sure StartDate is before EndDate. How is this
DateTime
StartDate
EndDate
if (StartDate>=EndDate) { throw new InvalidOperationException("Ack! StartDate is not before EndDate!"); }