Archives

Categories

Implementing singleton class in c sharp .net

0

// Singleton design pattern// Sealed class for preventing derivation and multiple instancespublic sealed class SingleTone{        private static volatile SingleTone instance;        private static object syncRoot = new object();        private SingleTone (){}        public static SingleTone Instance   Read more ›

Categories