Index outside bounds of array

Posts 1–6 of 6 · Page 1 of 1
Index outside bounds of array
Im using this in C#

Code:
string[] filePath = Directory.GetFiles(@"c:\Nexon\Combat Arms", "*.jpg",
                                             SearchOption.AllDirectories);
                File.Delete(filePath[0]);

It says [0] has its index outside the bounds of the array -_-. How do I fix that?
Try double \\s
nvm I just transformed it into a try catch statement
are you using c# to code a hack?
Quote Originally Posted by zmansquared View Post
are you using c# to code a hack?
This is obviously for a cleaner/multi tool...
probably the easiest thing to make...
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?