== Compliant Solution

----
class MyClass 
{
  private object obj = new object();

  public void DoSomething() 
  {
    if (IsInitialized())
    {
      lock(obj) // lock() {...} is easier to use than explicit Monitor calls
      {
        // ...
      }
    }
  }
}
----
