public void detail()
        {
            MultipleInheritance mp = new MultipleInheritance();
            interface1          i  = mp;

            i.show();
            interface2 j = mp;

            j.show();
        }
        static void Main(string[] args)
        {
            MultipleInheritance obj = new MultipleInheritance();

            obj.Test();
            interface1 I1 = obj;

            I1.Show();
            interface2 I2 = obj;

            I2.Show();
            Console.Read();
        }
 public void iAmPrinting(interface1 someobj)
 {
     Console.WriteLine(someobj.GetType());
     Console.WriteLine(someobj.ToString());
 }