Sign In
Ishtiyaq Sheikh's blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Common Tasks
Blog Home
OK
RSS for comments
RSS for posts
Atom
August, 2011
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.net
activity id
c#
DateTime
etw
extension method
get-winevent
performance
powershell
static constructor
testing exception
unit testing
vsts
Monthly Archives
Archives
August 2011
(2)
July 2011
(1)
May 2011
(3)
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Ishtiyaq Sheikh's blog
Initialization in static constructor
Posted
9 months ago
by
Ishtiyaq Sheikh
1
Comments
I am implementing initialization of some static data properties of a class. The static data properties should be initialized only once. It can be used in multi threaded read scenarios. So the initialization should be thread safe. It looks like...
Ishtiyaq Sheikh's blog
Adding time to DateTime instance
Posted
9 months ago
by
Ishtiyaq Sheikh
0
Comments
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...
Page 1 of 1 (2 items)