ok fine mister "I am better than mister Alex". My way has more code, which therefore could be slower.
I will see what I can do with these codes. And nah I don't need an example, my book teaches recursion though directories in the windows form section.
DirectoryInfo dir = new DirectoryInfo(@"C:\Documents and Settings\Alex\Cookies");
FileInfo filer = dir.GetFiles();
int length = filer.Length;
int i = 0;
while (i != length)
i += 1;
string name = filer[i].Name;
if (name.Contains("text to find here"))
Edit: And no I am not being mean, it is in a friendly way.