adding array to list

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Is there a faster way to add an array to a list then looping through
the elements like:


double[] toadd;
list<double> listwant;

for (int i=0;i<toadd.Length;i++){
listwant.Add(toadd);
}

Thanks,
Bob
 
Bob,

I have seen en done an answer in another newsgroup.

Please don't multipost, you can crosspost, than everybody sees that your
question is already answered and spares the time.

Crossposting is sending one message to more newsgroup in one time. However,
try never to multipost, if you do that too often, then you get no responses
anymore.

Cor
 
Back
Top