Hi, I'm sorry about the confusing title, but i didnt find a better way to explain my issue.
I have a list of objects,myList, lets call them 'MyObject'. the objects look something like this:
Class MyObject
{
int MYInt{get;set;}
string MYString{get;set;}
}
List<MyObject> myList;
...
I am looking for a nice/short/fancy way to create a List<string>
from 'myList', where i am using only the 'MyString' property.
I can do this using myList.forEach(), but i was wondering if there's a nicer way
Thanks!!