I\'m doing a very silly benchmark on the ReaderWriterLock with this code, where reading happens 4x more often than writting:
class Program { static void
I guess this is because of the sleeps you have in you reader and writer threads. Your read thread has a 500tims 50ms sleep which is 25000 Most of the time it is sleeping