Index outside bounds of array
Im using this in C#
It says [0] has its index outside the bounds of the array -_-. How do I fix that?
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?
