good evening))
(At us now evening))
Please answer the question -
there's a code fragment -
public string MAP(string FilePath)
{
FileStream fs; // объявляем байтовый поток
try { fs = new FileStream(FilePath, FileMode.Open); }
catch (FileNotFoundException exp) { [B][U]return[/U][/B] exp.Message; }
catch { [U][B]return[/B][/U] "not possible to open a file"; }
return "all right!" ;
}
Question - do the first two returns concern value which is returned by function?
may this function return "not possible to open a file" or exp.Message ?
Thank you for your answers ))