BinhlEmul.Log.Write C# (CSharp) Метод

Write() публичный Метод

public Write ( string value ) : void
value string
Результат void
        public void Write(string value)
        {
            if (!System.IO.File.Exists(LogFileName)) System.IO.File.WriteAllText(LogFileName, "");
            string[] s = System.IO.File.ReadAllLines(LogFileName);
            var outstr = s.ToList();
            outstr.Add(value);
            System.IO.File.WriteAllLines(LogFileName, outstr.ToArray());
        }