I need to create a singlton pattern.  I have to check to see if the object
is null.  I know in java I would code it like so...

static synchronized public ConfigManager getInstance(){

  if((instance == null){
    instance = new ConfigManger();
  }//ends if

  return instance;

}//ends getInstance Method


how would I do this in VB.net?

Travis

---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/


Reply via email to