call set method for each item of enumerable
I have an IEnumerable and I try to call "Text" setter in each item of the enumerable.   
I can do:

    foreach (Data d in DataEnumerable) {
        d.Text="123";
    }

I can also do:

    DataEnumerable.All(x =>
        {
            x.Text = "123";
            return true;
        });

What is the best practice to call set method for each item of enumerable?
call set method for each item of enumerable
===

I have an IEnumerable and I try to call "Text" setter in each item of the enumerable.   
I can do:

    foreach (Data d in DataEnumerable) {
        d.Text="123";
    }

I can also do:

    DataEnumerable.All(x =>
        {
            x.Text = "123";
            return true;
        });

What is the best practice to call set method for each item of enumerable?