c# Programming Glossary: rwlmylock_m
using statement vs try finally http://stackoverflow.com/questions/278902/using-statement-vs-try-finally than another. Method 1 try finally static ReaderWriterLock rwlMyLock_m new ReaderWriterLock private DateTime dtMyDateTime_m public.. DateTime dtMyDateTime_m public DateTime MyDateTime get rwlMyLock_m .AcquireReaderLock 0 try return dtMyDateTime_m finally rwlMyLock_m.. .AcquireReaderLock 0 try return dtMyDateTime_m finally rwlMyLock_m .ReleaseReaderLock set rwlMyLock_m .AcquireWriterLock 0 try..
|