public void Work(GoodLocker2 g) { lock (lock1) { DoWork(g); } }
private void DoWork(GoodLocker2 g) { lock (g.lock1) { } }