试题详情

在C#中,以下代码运行结果是( )public class Customer { public string name; public int age; public int Age { set { age = value; } } } class Program { static void Main(string[] args) { Customer liu = new Customer(); liu.Age = 300; Console.WriteLine(liu.Age); } }

A300

B100

C0

D代码出现错误