The code below adds in the implementation of above Monitor:
Private Static Monitor _instance = Null;
Public Static
Monitor Current

{
Get
{
If (_instance==Null)
_instance = New Monitor();
Return _instance;
}
}
But this system is put in many clients end, create a problem to avoid multi-line Cheng so, still come Double Check, revise the code above to be as follows:
Public Static Monitor Current
{
Get

{
Object O = New Object();
If (_instance==Null)
Previous 1 23 Next