MyAutoMapper is a dotnet library. The Map() method compares common properties in 2 different classes without serialization using reflection and assigns common named values. To add it to the project, the following command can be preferred using nuget services NuGet\Install-Package MyAutoMapper -Version Here is an example of comparing an anonymous object with a defined class. var result1 = new { naME = "first name", suRName = "last name", age = 2 }.Map();

Your comment will be visible after approval