> i have an important question about the lock statement.
>
[quoted text clipped - 17 lines]
> or it will use regObj to lock (so the next call to lock(objA) or
> lock(objB) will not block?
It's the object which is referred to which is important, not which
variable is used.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too