[Solved] Convert a Collection of Strings into Collection of GUID


Either LINQ:

List<Guid> guids = guidStrings.Select(Guid.Parse).ToList();

or List.ConvertAll which is a little bit more efficient because it knows the size:

List<Guid> guids = guidStrings.ConvertAll(Guid.Parse);

0

solved Convert a Collection of Strings into Collection of GUID