guids.Cast<Guid>().ToList()
Just trying to pass each list item to Guid. Since you cannot pass the string directly to Guid, this will not work.
However, it's easy to build a Guid from a string, you can do this for each item in the list using a selector:
var guidsAsGuid = guids.Select(x => new Guid(x)).ToList()
source
share