Possible Duplicate:
How to copy value from class X to class Y with the same property name in c#?
C# 4.0
If i have N numbers of POCO objects with the same properties (the same names and types) I want to convert them one to another. They dont have any parent relations, the just POCO.
I may type converted function to copy just properties values from one to another:
obj1.a = obj1.a; obj2.a = obj2.a; ...
but it is very boring to do this and especially in examples when i have many properties in objects. May by someone may suggest more clever way of doing this?