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

[ad_1]

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

[ad_2]

solved Convert a Collection of Strings into Collection of GUID