I am opening afile through
foreach(string eachfile in ArrayOfFile)
{
System.IO.StreamReader sr = new System.IO.StreamReader(eachfile,FileMode.Open,FileAccess.Read);
System.Text.StringBuilder strAllText = new System.Text.StringBuilder();
}
I want that if any one file is not access or not open then it will throw a error msg only and continue to read another file..
if anyone has solution then plz reply