Sunday, April 26, 2015

Interlocked class in asp.net

What is use of Interlocked class ?

Interlocked class provides methods by which you can achieve following functionalities :-
√ Increment Values.
√ Decrement values.
√ Exchange values between variables.
√ Compare values from any thread.
in a synchronization mode.
Example :- System.Threading.Interlocked.Increment(IntA)

No comments:

Post a Comment