How to remove item that contains @ from iEnumerable?

dont use an already existing variable within the function definition. have a look here:

we used x