S
Steven
I have an arraylist and I want to loop through the array and replace all the
""(or blank) values with string name "Pico". I'm doing this ..
foreach (String item in this.List1)
{
if (item == "")
{ item.Replace("","Pico"); // line 1 }
}
but when I'm trying to run the program -- its giving me compilation error "
parameter old value cannot be of zero length in line 1". How can I achieve
this?
Steven
""(or blank) values with string name "Pico". I'm doing this ..
foreach (String item in this.List1)
{
if (item == "")
{ item.Replace("","Pico"); // line 1 }
}
but when I'm trying to run the program -- its giving me compilation error "
parameter old value cannot be of zero length in line 1". How can I achieve
this?
Steven