我在这里遇到问题,我有一个列表
this.Ddown 有 3 个属性
我想编写一个 Linq 查询来返回其中一个属性,假设我有属性 a、b、c
我想返回列表(c)
我如何在 linq 中做到这一点
var listOfC = this.Ddown.Select(x => x.c).ToList();