What is the safest (and shortest) way do lock read/write access to static members in a multithreaded environment in C#?
static
Is it possible to do the thread
Locking in static methods sounds like a bad idea, for one thing if you use these static methods from class constructor you could run into some interesting side-effects due to loader locks (and the fact that class loaders can ignore other locks).