how to use monitor from system.threading in csharp
Code Example - how to use monitor from system.threading in csharp
Monitor.Enter(object)
try
{
// do something
}
catch{}
finally{ Monitor.Exit(object)}