H
Hans Greif
Hallo,
hello, i try to implement a global dataset - singleton based.
On www.bakterienforum.de i found a singleton implementation:
sealed class SingletonCounter
{
public int Counter = 0;
private SingletonCounter(){}
public static readonly SingletonCounter Instance = new
SingletonCounter();
}
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 SingletonCounter
{
public int Counter = 0;
private SingletonCounter(){}
public static readonly SingletonCounter Instance = new
SingletonCounter();
}
Can i use this for implementing the global dataset and how can i do this?
Thank you in advance.
hans