title: Remove white spaces from properties in list of the objects?
body: <p>I have this list of object:</p>
  
  <pre><code>public class Location
  {
      public string area { get; set; }
      public string sensorId { get; set; }
      public string address { get; set; }
  }
  
  List&lt;Location&gt; items = List&lt;Location&gt;(){
  new Location(){area = "london ", address ="king road", sensorId ="2134"},
  new Location(){area = "moscow",  address ="george str", sensorId ="2134"},
  new Location(){area = "york ",   address ="johnson str ", sensorId ="2134"},
  new Location(){area = " tokyo",  address ="king road 5", sensorId ="2134"},
  new Location(){area = "paris",   address ="elitom road", sensorId ="2134"}
  }
  </code></pre>
  
  <p>how can I remove white spaces in area and address properties in items variable using linq?</p>