title: Passing Values from Page to Another page in List
body: <p>this is mine model</p>
  <pre><code> public class QMSRejection
          {
      
              public string Date { get; set; }
      
              public string Grade { get; set; }
      
              
              public string Resd { get; set; }
      
              public string Remarks { get; set; }
          }
  </code></pre>
  <p>this is mine firstpage.xaml.cs from where I am passing a data to another page !</p>
  <pre><code>     List&lt;QMSRejection&gt; DataToSave = new List&lt;QMSRejection&gt;();
                  var rej = new QMSRejection();
  
                  rej.Date = DateTime.Now.ToShortDateString();
                  rej.Grade = GradeID;
                  rej.Resd = ResdId;
                  
                  DataToSave.Add(rej);
   await Navigation.PushAsync(new Rejection2ndForm(DataToSave));
  </code></pre>
  <p>now on the second page I am receiving it, data is coming everything working fine !</p>
  <pre><code> public partial class Page2 : ContentPage
    {
      List&lt;QMSRejection&gt; DataToSave = new List&lt;QMSRejection&gt;();
      public Rejection2ndForm(List&lt;QMSRejection&gt; models)
      {
        InitializeComponent ();
        DataToSave = models;
  
      }
    }
  
              var rej = new QMSRejection();
              rej.Remarks = ent3.Text.ToString();
              DataToSave.add(rej);
  </code></pre>
  <p>I have a fields Remarks which I am trying to add to existing data coming from page 1.But these lines are creating another IEnumerable in the datatoSave List and remarks field not getting added to previous data ! What should I do in place of these lines to do ?
  As I have to add remarks field through page2.xaml.cs !</p>