I have an array of files, and I have to get the string from one's route. I can not find any method that does it. The code what it does is go through two directories of files, and then look for the first file of the source directory in the destination directory. This is my code so far, the questions indicate the doubt I have:
for (int i = 0;i<fileDirOrigenNames.Length;i++ )
{
System.IO.Stream[] arrayOrigen = new System.IO.Stream[i];
for (int j = 0; j <= fileDirDestinoNames.Length; j++)
{
System.IO.Stream[] arrayDestino = new System.IO.Stream[i];
if (arrayOrigen[i].Equals(arrayDestino[j]) == true)
{
//??????? mostrarResultadoComparacionPropiedades(arrayOrigen[i].ToString, arrayDestino[j].ToString);
}
}
}