c# linq list select code example
Example 1: C# linq mselect
var users = new List()
var names = users.Select(xx=> xx.Name);
Example 2: c# linq list select
List newList = list.Where(m => m.application == "applicationname")
.Select(m => new Model {
application = m.application,
users = m.users.Where(u => u.surname == "surname").ToList()
}).ToList();