Cast one object to another
问题 I have got two user defined CLR objects which are identical and only differ in name, for example this code: public class Person { public string Name { get; set; } public string Address { get; set; } public string LastName { get; set; } public string ETC { get; set; } } public class PersonData { public string Name { get; set; } public string Address { get; set; } public string LastName { get; set; } public string ETC { get; set; } } I know that this can be done by creating an object from