示例#1
0
        static void Main(string[] args)
        {
            Person dilbert = new Person();

            dilbert.Name = "Dilbert";
            dilbert.Age = 21;

            Console.WriteLine(dilbert);
            Console.Read();
        }
示例#2
0
 protected PersonState(Person person)
 {
     innerPerson = person;
 }
示例#3
0
 public ViewState(Person person)
     : base(person)
 {
 }
示例#4
0
 public EditState(Person person)
     : base(person)
 {
 }