示例#1
0
文件: test-771.cs 项目: nobled/mono
		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);
        }