I have an object, with ID and Name properties.
I have a list of the objects, but I want to convert it to a list of strings containing the name of the object.
I'm guessing there's some fancy Linq method that will put the name of the object into the list.
List<string> myObjectNames = myObjectList.?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…