Relative Content

Tag Archive for c#datetimedstdatetimeoffsetticks

DateTimeOffset Ticks is bugged or not?

I used a sorted list like that: SortedList<DateTimeOffset, Something>.
The data is well sorted according to the UTC date-time, which is expected.
But “Ticks” is bigger (for DST – for case of Daylight Saving Time) for the previous DateTimeOffset than the next one? How’s that possible? It seems to be illogical to me.
Could it be a bug? Anybody knows why or the rule about it?