views:

40

answers:

0

Possible Duplicate:
C# version of java's synchronized keyword?

Is there an equivalent in c# to the java synchronized keyword for functions? I wish to synchronize a function rather than just a block...