ReaderWriterLockSlim Class in C# Threading

Source: Introduction ReaderWriterLockSlim class is new to .Net Framework 3.5 and is a replacement for the older ReaderWriterLock class. Problem with ReaderWriterLock The problem with ReaderWriterLock is with its implementation. Several experts have slammed this technique and found that outside of limited scenarios, it is actually far slower than the Monitor.Enter method used to get an exclusive lock. ReaderWriterLock gives higher priority to reader threads … Read moreReaderWriterLockSlim Class in C# Threading

What does the @ symbol before a variable name mean in c#?

Source: The @ symbol allows you to use reserved word. For example: int @class = 15; The above works, when the below wouldn’t: int class = 15; Microsoft official documentation on this subject: