Hello,
I have a Linq query which returns items of
List<TagTags = new List<Tag(from t in database.Tags
where
t.Category = MyCategory).ToL ist();
Each tag has three properties: ID, Name and Category
I need to convert this list to a CSV string of the Tag names in the
list. How can I do this?
I have done before the conversion from CSV to List:
List<TagTags = MyCSVTags.Split (',').Select(t =new Tag { Name =
t.Trim() }).ToList();
But I am having problems in the List CSV conversion.
Could someone, please, help me out?
Thanks,
Miguel
I have a Linq query which returns items of
List<TagTags = new List<Tag(from t in database.Tags
where
t.Category = MyCategory).ToL ist();
Each tag has three properties: ID, Name and Category
I need to convert this list to a CSV string of the Tag names in the
list. How can I do this?
I have done before the conversion from CSV to List:
List<TagTags = MyCSVTags.Split (',').Select(t =new Tag { Name =
t.Trim() }).ToList();
But I am having problems in the List CSV conversion.
Could someone, please, help me out?
Thanks,
Miguel
Comment