ReadAllFiles(@"../../","names.txt"); I tried this so I am able to read the file.But what I want is to read a file without giving filename and it should read only file with some particular extension like .csv, .xml only
ReadAllFiles(@"../../","names.txt"); I tried this so I am able to read the file.But what I want is to read a file without giving filename and it should read only file with some particular extension like .csv, .xml only