title: Adding lines to a textbox through code while keeping the previous lines? C#
body: <p>I am using a basic textbox and the program is coded in c#, I currently am having a generator generate strings which are to be outputted onto the Textbox for the user, however I want the previous lines that were generated to stay visible to the user instead of replacing the old generated string with the new one.</p>
  
  <pre><code>//Random generator
          Random rnd = new Random();
  
          //Int
          int Player1_Attack = rnd.Next(1, 11);
  
          String p1_attack = Player1_Attack.ToString();
  
          if (Player1_Attack == 4 || Player1_Attack == 6 || Player1_Attack == 8 || Player1_Attack == 10) {
  
              txt_combat.Text = "\nYou have Struck your opponent!";
  
          }
  
          if (Player1_Attack == 2)
          {
              txt_combat.Text = "\nYou landed a Critical Attack!";
  
          }
  
          else
          {
  
              txt_combat.Text = "\nSigh... your attack missed.";
  
          }
  </code></pre>