分析如下 C# 代码,根据类的继承关系,运行后的输出结果是( )。 public class Person { private int age=0; public int Age { get{return age;} set{ if(value>=18) Console.WriteLine( “成年人” ); else Console.WrteLine( “未成年人” ); } } } public class People:Person { public People() { Console.Write (“不得入内 ”); } } class Test { static void Main (string[]args) { People shang = new People(); shang.Age=17; } }