I have two classes with exactly same members (properties and fields) with same datatypes. I want to map the members from one to other in automated way. I know there are more
AutoMapper is another good tool for something like this http://automapper.codeplex.com/
You map from one object to another with something like this:
Mapper.CreateMap(); var myDTO = Mapper.Map(myClass);