100coding
4/7/2017 - 1:13 AM

2CE01386-391D-423C-9D43-B5CC5EF9F7D9

2CE01386-391D-423C-9D43-B5CC5EF9F7D9

using System;

public class Logger
{
    public string Log { get; set; }

    public Logger()
    {
        Log = "";
    }

    public void Write(string value)
    {
        if (value == null)
        {
            throw new ArgumentException();
        }

        Log += value;
    }
}