hi friends, in below code i need your help to retrive full file name of searched document no.... help
List<string> filestxt = new List<string>();
datas
filestxt[0]=ZALS_8703502446_L_5.pdf
filestxt[1]=ZALS_8703502447_L_5.pdf
int documentno=8703502447;
if (filestxt.Any(str => str.Contains(documentno)))
{
// if document no is matched then how to retrive this file name hear? // file name: ZALS_8703502447_L_5.pdf
}
else
{
int k = 0;
}