query linq c# code example Example: C# linq mselect var users = new List<Users>() var names = users.Select(xx=> xx.Name);