Problem with String split & foreach loop
Posted on 2007-11-21
I have a string that is being read in from a file.
what I need to do is only add the app.exe to my arraylist. I am getting a casting error (Unable to cast object of type 'System.String' to type 'System.String') on my foreach loop
What do I need to do to fix this?
foreach (string mystring in arrText)