I just had a need to loop through all the properties of an object and copy the values of the properties to another object of the same type. I just discovered that we can use System.Relection to get this done. For example two objects sourceObject and destinationObject are objects of class Person. using System.Reflection; namespace […]