title: Safe List to Textfile and read it with json
body: <p>I am trying to display an list in an listview in Visual Studio that was first serialized and then deserialized. Everything works fine but my problem is that the list is displayed in an very weird format you can see it in the picture below.</p>
  <p>Heres my code so far:</p>
  <pre><code>        private void SaveButton_Click(object sender, RoutedEventArgs e)
      {
  
          KalenderClass k1 = new KalenderClass();
          k1.termin = TerminTextbox.Text;
          k1.datum = DatePicker1.Date;
          k1.person = PersonTextbox.Text;
          kList.Add(k1);
          SaveData(kList);
          
      }
  
      private async void SaveData(List&lt;KalenderClass&gt; kList)
      {
          StorageFolder ordner = ApplicationData.Current.LocalFolder;
          StorageFile datei = await ordner.CreateFileAsync(&quot;Kalender.txt&quot;, CreationCollisionOption.OpenIfExists);
          await FileIO.WriteTextAsync(datei, JsonConvert.SerializeObject(kList));
          showDialog(&quot;Daten wurden in Datei geschrieben&quot;);
  
  
      }
  
      private async void ReadButton_Click(object sender, RoutedEventArgs e)
      {
          StorageFolder ordner = Windows.Storage.ApplicationData.Current.LocalFolder;
          string path = ordner.Path;
          StorageFile datei = await ordner.GetFileAsync(&quot;Kalender.txt&quot;);
          string inhalt = await FileIO.ReadTextAsync(datei);
          var k = JsonConvert.DeserializeObject(inhalt);
          TerminListview.Items.Add(k);
      }
  </code></pre>
  <p>I dont want to add the whole List k to the listview but just the new object.
  And here is the way it is displayed:
  <a href="https://i.stack.imgur.com/OKJIv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OKJIv.png" alt="Screenshot" /></a></p>
  <p>I want it to be a format, for example:
  Termin 1:
  Date:
  Person:</p>
  <p>I hope you guys can help me</p>