I have a C# 2008 console application where all the output is displayed in DOS popup windows instead of being written to a log file.
Thus can you tell me what I can do to have all messages in this console application appear in a log file instead of these dos pop windows? Can you show me in code how to accomplish this goal?