Yes, your list of strings has nothing in it (list.Count is 0). You just need to debug your program.
-Abe On Mon, Apr 12, 2010 at 7:38 AM, Adam Tauno Williams <[email protected]> wrote: > On Mon, 2010-04-12 at 04:37 -0700, Stephen Liu wrote: >> Hi Abe, >> I did that before same as your advice but failed with following warning; >> Fatal Error System ArgumentOutOfRangeException. Argument is out of range >> Parameter name: index >> at System Collections Generic List`1 [System String get_item (int32 index) >> [0x00000].... > > That looks like a straight-up application error to me. Take a look at > the stack trace and your application to see what is supposed to be in > the List you are accessing. Perhaps [most likely?] you are doing some > filesystem path parsing 'manually' instead of using the appropriate > methods? > -- > Adam Tauno Williams <[email protected]> > Whitemice Consulting > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
