Using computation expressions to control monitor locks
C# has the lock statement to support the use of .NET monitor synchronization.
lock(this) { x--; }
This curly-brace delimited block of atomic statements is easily identified in code. However having
Read More