private static void RWLockFunc() { for (int i = 0; i < 1000; i++) { rwLocker.WLock(); RWLockCount++; rwLocker.WUnlock(); } }