static void Main(string[] args) { Person dilbert = new Person(); dilbert.Name = "Dilbert"; dilbert.Age = 21; Console.WriteLine(dilbert); Console.Read(); }
protected PersonState(Person person) { innerPerson = person; }
public ViewState(Person person) : base(person) { }
public EditState(Person person) : base(person) { }