Lets have:
List<double> inputs,outputs;
Is any difference between this:
inputs.Clear();
outputs.ForEach(inputs.Add);
and this:
inputs.Clear();
outputs.ForEach(x => inputs.Add(x));
1) I assume that both options will first clear list of inputs and than take all values in list of outputs and put them into list of inputs.
2) Both options looks like they are equivalent. Am I right? Is any difference between them?