Using LINQ how do I create a List of one particular field of an entity from a collection entities
If I have the following collection 

    IEnumerable<ProviderOrganisation> listOfProviders

    public class ProviderOrganisation
    {
        public virtual string Code { get; set; }
        public virtual string Description { get; set; }
        public virtual int SortOrder { get; set; }
        public virtual bool IsDefault { get; set; }
        public virtual DateTime EffectiveStartDate { get; set; }
        public virtual DateTime? EffectiveEndDate { get; set; }
    }

how do I write the LINQ to produce a collection of just Codes please?

So, just a List<string> of the Codes:

    List<string> listOfCodes

Thanks
Using LINQ how do I create a List of one particular field of an entity from a collection entities
===

If I have the following collection 

    IEnumerable<ProviderOrganisation> listOfProviders

    public class ProviderOrganisation
    {
        public virtual string Code { get; set; }
        public virtual string Description { get; set; }
        public virtual int SortOrder { get; set; }
        public virtual bool IsDefault { get; set; }
        public virtual DateTime EffectiveStartDate { get; set; }
        public virtual DateTime? EffectiveEndDate { get; set; }
    }

how do I write the LINQ to produce a collection of just Codes please?

So, just a List<string> of the Codes:

    List<string> listOfCodes

Thanks