Beispiel #1
0
 //Main_7_3_2
 public static void Main_7_3_2(string[] args)
 {
     MyProperty myProperty = new MyProperty();
     //����set������
     myProperty.Name = "Anytao";
     //����get������
     Console.WriteLine(myProperty.Name);
     myProperty.Age = 66;
     Console.WriteLine(myProperty.Age.ToString());
     Console.ReadLine();
 }