"Interlocked" class in Silverlight application?

Posted by Rajsekhar.Alluri under Silverlight on 12/10/2012 | Points: 10 | Views : 1300 | Status : [Member] | Replies : 0
Which of the following operations can be performed by the "Interlocked" class when included in your Silverlight application?


a. It can be used to add an integer value to a variable and return the new value of the variable.
b. It can be used to increment or decrement a variable and return the resulting value.
c. It can perform an atomic exchange of the value in a specified variable, returning that value and replacing it with a new value.
d. It can be used to delete an integer value to a variable and return the new value of the variable.


rajsekhar


Responses

(No response found.)

Login to post response