I have a list object
One of the data members of TramsResourceCatalog is string PrimaryIdentifier
What is the easiest way of transforming my List<TramsResourceCatalog> into only being a list of the one property PrimaryIdentify, ie a List<string> of PrimaryIdentify.
What I'm currently doing is...
List<TramsResourceCatalog> tramsList = ScheduleService.GetTramsResourceCatalogList();
List<string> test = (from tramsNSNlist in tramsList select tramsNSNlist.Base4DPrimaryIdentifier).ToList();
But I think there must be an easier more simplistic way to do this that I'm just not familiar with.