177 reputation
17
bio website
location
age
visits member for 1 year, 11 months
seen Nov 19 at 11:25

Oct
12
awarded  Peer Pressure
Jul
17
awarded  Popular Question
Jul
8
awarded  Notable Question
Aug
28
awarded  Popular Question
Feb
7
awarded  Commentator
Feb
7
accepted Helper static methods in TDD
Feb
7
comment Helper static methods in TDD
Yes I am using IOC. I will tell IOC to use single instace. thanks
Feb
7
comment Helper static methods in TDD
I have also this in mind. But this will create FileHelper instance each time the class which uses this instantiated. Can we overcome this? May be through Singleton?
Feb
7
comment Helper static methods in TDD
@Carson63000 because I will not able to mock this. I will using tis clas at lot of places.
Feb
7
asked Helper static methods in TDD
Dec
10
comment How to create a Request Specific Thread Safe Static int Counter?
Make sense thanks.
Dec
10
accepted How to create a Request Specific Thread Safe Static int Counter?
Dec
10
asked How to create a Request Specific Thread Safe Static int Counter?
Dec
10
awarded  Student
Dec
10
comment Difference between Atomic Operation and Thread Safety?
Very Nice. Thanks...
Dec
10
awarded  Scholar
Dec
10
comment Difference between Atomic Operation and Thread Safety?
@Arch, you are saying that reading int and writhing int is atomic. But x = x+1 is also writing? and what about x = 5, is this atomic?
Dec
10
accepted Difference between Atomic Operation and Thread Safety?
Dec
10
comment Difference between Atomic Operation and Thread Safety?
@Archy, Please explain a little. I will very thankfull. I am confused here. If int is atomic then why we need to use interlock construct.
Dec
10
comment Difference between Atomic Operation and Thread Safety?
@mouviciel, see this what this thread say stackoverflow.com/questions/3047280/is-int-thread-safe