Esempio n. 1
0
        //Factory design pattern
        private static void FactoryMethod()
        {
            int  i           = 0;
            IGet ObjIntrface = null;

            ObjIntrface = clsFactory.CreateandReturnObj(i + 1);
            string res = ObjIntrface.ConC("First", "Second");

            i++;
        }