How can I create a log files in C Sharp?
Posted on 2011-03-24
I need a simple example that send the log into a text file.
i.e. Let say that I have a form with a text box and two buttons.
one button sum and the other multiply.
When I press the button sum button, I want to send the sum of A + B to the text box and if the sum goes fine, write time, date, and small text massage to a file saying that all went fine.
Does not have to be this example, I am just trying to explain what I need.