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

            c.F();
            var d = new MergedClass();

            d.G();
            var e = new EmbeddedPortableClass();

            Console.WriteLine(e.H());
            Console.ReadLine();
        }
Пример #2
0
        static void Main(string[] args)
        {
            var s  = new MergedClass.SubType[0];
            var dt = typeof(MergedClass);
            var d  = new MergedClass();

            d.G();
            var da = new[] { d };
            var dl = da.ToList();
            var c  = new EmbeddedClass();

            c.F();
        }