title: Output/Log Console.Read & Console.Write from a Console application to a TXT/XML File C#
body: <p>I have a Console application (C#) that interacts with the User, and every step is shown via Console.Writeline.</p>
  
  <p>Now I wanted to write these events to XML or TXT, and my only guess was to create a List and add all the Console.Writelines to it, but then I noticed that logging the Console.Readline is mandatory, and that's the reason I'm asking this question.</p>
  
  <p>How do I log Console.Reads/Console.Writes to a TXT/XML?</p>
  
  <p>Thank you.</p>