Hallo,
hello, i try to implement a global dataset - singleton based.
On www.bakterienforum.de i found a singleton implementation:
sealed class SingletonCounte r
{
public int Counter = 0;
private SingletonCounte r(){}
public static readonly SingletonCounte r Instance = new
SingletonCounte r();
}
Can i use this for implementing the global dataset and how can i do this?
Thank you in advance.
hans
hello, i try to implement a global dataset - singleton based.
On www.bakterienforum.de i found a singleton implementation:
sealed class SingletonCounte r
{
public int Counter = 0;
private SingletonCounte r(){}
public static readonly SingletonCounte r Instance = new
SingletonCounte r();
}
Can i use this for implementing the global dataset and how can i do this?
Thank you in advance.
hans
Comment