I want to create deep copy method and I found 3 ways to execute it
1-deep copy with pass each property 1 by 1
2-using reflection
3-using serializatio
I made graph with comparison of the three methods plus an expression trees method.
For large number of objects is reflection 5x faster and manual code and expression trees are 20x faster than serialization. The best by performance are therefore manual code and expression trees.
Links to used cloning codes (2.-4. used as an extension method):
The best for performance is creating the clone in your code. So the way "1".