我如何更改它以确定其目录本身中的文本文件?
string[] file = new string[] {
"abc",
"def",
"file3"};
var files = (UInt16)file.Length;
for (UInt16 n = 0; n < files; n++)
{
var streamReader =
new System.IO.StreamReader(
file[n] + ".txt");
...
streamReader.Close();
...
}