static void Main(string[] args)
        {
            var red   = new RedClass();
            var black = new BlackClass();

            red.RedStuff();
            black.BlackStuff();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            var gc = new GreenClass();

            gc.ProcessColourImplentation();

            var rc = new RedClass();

            rc.ProcessColourImplentation();

            var wc = new WhiteClass();

            wc.ProcessColourImplentation();

            var bc = new BlackClass();

            bc.ProcessColourImplentation();
        }