示例#1
0
        public void fileWriterType(string filePath, TypeOfOwnership type)
        {
            StreamWriter sw = new StreamWriter("DIR\\" + filePath + ".txt", false, System.Text.Encoding.UTF8);

            sw.WriteLine($"Вид продукции: {type.getTypeOfOwnership()}");
            sw.Close();
        }