Yes, ReaderWriterLockSlimideal for frequent read / infrequent scripts.
The behavior, you guessed it, is only one writer, writers are blocked until all readers are completed, readers canโt access while the writer is in the process.
Be careful that the lock time (for reading or writing) is long enough to prevent concurrent access, and is no longer needed.
source
share