Демонстрируемый код на практических занятиях
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
508 B

using ClassLib000.Walker;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleCore
{
class RobotFiler
{
internal static void SaveFile(string sFileName, Appartment app)
{
File.WriteAllText(sFileName, app.GetContent(), Encoding.UTF8);
// byte[] bt = Encoding.UTF8.GetBytes(app.GetContent());
// File.WriteAllBytes(sFileName, bt);
}
}
}