private void DetectIt(int nIndex,int nLength,string[] strFileNameArray)
{
for(int i=0;i<strCharsArray.Length;i++)
{
strFileNameArray[nIndex] = strCharsArray[i];
if(nIndex == nLength - 1)
{
string strFileName = "";
for(int j=0;j<strFileNameArray.Length;j++)
{
strFileName += strFileNameArray[j];
}
Console.Write(strFileName);
progBar.PerformStep();
}
else
{
this.DetectIt(nIndex + 1 ,nLength,strFileNameArray);
}
}
}