1
votes
votes
1 answers
How to perform a lock programatically?
I need to make a API call, but I want to wrap the call in a (C#) lock. What options do I have to wrap some logic in a lock to make it thread safe? Is it possible to mark a particular class or method as serializable also?
