From one learn all.
Monday, July 23, 2007
Thread Safe Singleton Implementation
public sealed class Singleton
{
private static readonly Singleton instance = new Singleton();
private Singleton(){}
public static Singleton Instance
{
get
{
return instance;
}
}
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment