Possible Duplicate:
C# version of java's synchronized keyword?
I know that when working with a session in Java, you were always supposed to surround use of the session with a synchronized block incase the user would load your page with two browsers at the same time.
Is there an equivalent keyword/block in C# for doing the same thing?