>> If you read the docs for DateTime.AddHours[1] then it is very clear that >> this is the expected behaviour. Read especially the "Remarks" section... > >Although I agree with that, my view is that the opening sentence of the >documentation of this method is not helpful. (This sentence also appears >in the index of the methods of the struct.) > >The sentence says: > Adds the value of the specified TimeSpan to the value of this instance. >I think it would be more helpful to say: > Returns the value formed by adding the value of the specified TimeSpan > to the value of this instance.
Yeah.. that's true, and hopefully someone from MS documentation team is listening. Otherwise the documentation is very good and helpful :) Andreas Häber You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.