Converting Array to Datatable faster than for each add row

Is there a faster way to convert an Array to a Datatable than using a foreach loop and add row?

if the topic is about the faster execution
then you should use invoke code, because custom code execution faster than its analog built with Activities (especially - loops).
if you are talking about the shorter code (count of activities is less)
then you should use lambda-expressions of LINQ.

I will look into this. If its too complicated I can just use a for each loops. Thanks for the advice.

1 Like