Matches to List<String>

I have a Match activity that outputs an IEnumerable. Would like to avoid using another for each activity just to have its values in a List.

I’m trying it like this: TransactionAccountMatches.Cast().Select(match => match.Value).ToList()

But it doesn’t work and I’m not too familiar with C# or .NET or all right VB.NET

Here are some links bellow that show the direction, but I’m too stupid to apply them for my need…

https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.tolist?view=netframework-4.7.2

1 Like

@obeliksz

list_string = match_ienumerable_result.AsQueryable.select(function(x) x.value).tolist

Try the above expression

4 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.