I have a List and I want to convert it to a List. Is there any way to do this other than just looping through the Li
List
Li
You can use ConvertAll method inside of .Net Framework 2.0 here is an example
List lstInt = new List(new int[] { 1, 2, 3 }); List lstDouble = lstInt.ConvertAll(delegate(int p) { return (double)p; });