Пример #1
0
        static void Main(string[] args)
        {
            IFoo f = new IFoo();

            f.SayHello();

            IFoo ff = new IFoo("Something");

            ff.SaySomething();

            IBar b = new IBar();

            b.SayName();

            Console.ReadLine();
        }