Well, you could do it with a reflection, but I personally did not. You can add a method CopyToto Person:
public class Person
{
public int Id { get; set; }
public String Name { get; set; }
public void CopyTo(Person other)
{
other.Id = Id;
other.Name = Name;
}
}
- , Student Person , Person. - , Student Person, ?
, , ... , , , d . , , , , .