Browse by Tags

Tagged Content List
  • Blog Post: Adding time to DateTime instance

      Recently, I wrote code for adding seconds to a DateTime instance something like this: DateTime time = DateTime.Now; time.AddSeconds(100); In the first round of unit test, I realize that it is not working correctly. A quick reference to MSDN revealed the fact: “This method...
Page 1 of 1 (1 items)