Exemplo n.º 1
0
		public static int Main ()
		{
			DerivedInternalExample die = new DerivedInternalExample ();
			if (die.Prop != "D")
				return 1;

			DerivedProtectedExample dpe = new DerivedProtectedExample ();
			if (dpe.Prop != "A")
				return 2;

			return 0;
		}
        public static int Main()
        {
            DerivedInternalExample die = new DerivedInternalExample();

            if (die.Prop != "D")
            {
                return(1);
            }

            DerivedProtectedExample dpe = new DerivedProtectedExample();

            if (dpe.Prop != "A")
            {
                return(2);
            }

            return(0);
        }