Perfomance of Mapping C# Poco objects 1
02/16/2018
In the series of the following posts, I will explore a couple of ways to map one object to another object, and will measure the performance of these methods.
The task will be map 2 types to each other:
public class People1 { public int Age { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public Guid Id { get; set; } public double Weight { get; set; } public double Height { get; set; } public string NationalId { get; set; } public God1 God { get; set; } } public class People2 { public int Age { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public Guid Id { get; set; } public double Weight { get; set; } public double Height { get; set; } public string NationalId { get; set; } public God2 God { get; set; } } public class God1 { public string Name { get; set; } } public class God2 { public string Name { get; set; } }