title: How would I structure PrintNode() method?
body: <p>Currently this is my PrintNode() method and its giving me </p>
  
  <p>Transaction No:</p>
  
  <p>Date   /////////////////////   Description ///////      DebitCredit/////     Amount</p>
  
  <p>12345678: 2012/01/15 abs a 100</p>
  
  <p>And i want the values to be put into the correct places.</p>
  
  <p>12345678 should be under Trasaction No:</p>
  
  <p>2012/01/2015 under Date</p>
  
  <p>etc.</p>
  
  <p>How would I format it that way?  (Sorry if this is a horrible question. I'm still new at this), worked out the method, but I don't know how to "Prettify" it up.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>public void PrintNodes(LinkedList&lt;Transactions&gt; values)
          {
              if (values.Count != 0)
              {
                  txtOutput.Text += "Transaction Details for Account No" + + ":" + "\r\n" + "Date\t\tDescription\tDebitCredit\tAmount";
  
                  foreach (Transactions t in values) 
                  {
                      txtOutput.Text += "\r\n" + t + "\t";
                      txtOutput.Text += "\t";
                  }
                  txtOutput.Text += "\r\n";
              }
              else
              {
                  txtOutput.Text += "The Doubly Linked List is empty!";
              }
  
          }</code></pre>
  </div>
  </div>
  </p>