In the C++ Standard Template Library (STL), it is possible for example to create a vector consisting of multiple copies of the same element, using this constructor:
the for each (or better the classic for) is always much faster than using Linq.
You should use the Linq expression only if it makes the code more readable