I couldn\'t find any information on whether the C# compiler or JIT will remove a lock statement with no code inside. Will this always generate and execute the Monitor.Ente
Monitor.Ente