Get YouTube subscribers that watch and like your videos
Get Free YouTube Subscribers, Views and Likes

Why you can't use await inside a lock (C#/.NET)

Follow
Patrick Borgogno

Locking ensures, that only one thread can execute some code at a time. However, as soon as you use await, you can't use "lock" anymore. Why is that and what can you use instead?

posted by marshhawk2y