How do I transfer the items contained in one List to another in C# without using foreach?
List
foreach
Easy to map different set of list by linq without for loop
var List1= new List(); var List2= new List(); var List2 = List1.Select(p => new Entities2 { EntityCode = p.EntityCode, EntityId = p.EntityId, EntityName = p.EntityName }).ToList();