'Simple foreach, preferred way [closed]

I'm accessing some values from the list to populate list of strings in this way

List<string> carNames = null;
foreach (var car in dal.Cars)
{
    carNames.Add(car.Name);
}

Is there more efficient way, yet readable to write this? How would you do it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source