I saw posts like below which are really hard for me to understand. So I am re-posting it. Sorry if someone feels it\'s duplicate. I have just simple requirements
C# Join
You can solve it with Enumerable.Zip and Ordering the Data before:
IEnumerable list = GetNames(new List()).OrderBy(p => p.Id).Zip(GetMainlingAddress(new List()).OrderBy(p => p.Id), (first, second) => { return new Person() { Id = first.Id, Name = first.Name, MailingAddress = second.MailingAddress }; });