Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Frist frist = new Frist();
            Second second = new Second();
            MyClass myClass = new MyClass();

            Console.WriteLine("Frist = {0}, Second = {1} , MyClass = {2} ,{3} - {4} - {5} -- {6}",
                                frist.Fs,second.Fs,myClass.Fs,frist.ShowMessage(),second.ShowMessage(),frist.Ff,second.Modific());
            Console.ReadKey();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            Frist   frist   = new Frist();
            Second  second  = new Second();
            MyClass myClass = new MyClass();


            Console.WriteLine("Frist = {0}, Second = {1} , MyClass = {2} ,{3} - {4} - {5} -- {6}",
                              frist.Fs, second.Fs, myClass.Fs, frist.ShowMessage(), second.ShowMessage(), frist.Ff, second.Modific());
            Console.ReadKey();
        }