:
using System;
using System.IO;
namespace ConsoleApp13
{
class Program
{
static string path = @"D:\filename";
static void Main(string[] args)
{
using (StreamReader sr = new StreamReader(path))
{
//...
}
}
}
}
Цитата:
System.IO.IOException: 'Синтаксическая ошибка в имени файла, имени папки или метке тома. : 'C:\Users\User\source\repos\ConsoleApp13\bin\Debug\netcoreap p3.1\D:\filename'' |