Implementing Semaphore

Learn how to design and implement a simple semaphore class in C#.