in a for loop I receive results from a db as dynamic type
dynamic {system.collections.generic.List<object>}
I need to collect these results into one single variable.
I tried defining a variable
dynamic results = new List<object>();
and then
var queryResults = _dbManager.Query(query);
results = results.Concat(queryResults);
but I have this exception:
System.Collections.Generic.List<object> does non contain a definition for 'Concat'
I can't find a solution. Do you how can I do this? Thanks!