title: Not able to assign values and error while converting system.collection.objectmodel.observation to generic list
body: <pre><code>proxy.loginCompleted += new EventHandler&lt;loginCompletedEventArgs&gt;(loginfn);
  proxy.loginAsync(username,password1);
  void loginfn(object sender, loginCompletedEventArgs e)
  {
      if (e.Result.Count!=0)
      {
          System.Collections.ObjectModel.ObservableCollection&lt;customer&gt; temp = e.Result;
          foreach (var item in temp)
          {
             Guid companyrefid = item.companyrefid;
             int id = item.id;
          }
          NavigationService.Navigate(new Uri("/customernames.xaml", UriKind.Relative));
      }
  }
  </code></pre>
  
  <p>in wcf :</p>
  
  <pre><code>public List&lt;customer&gt; login(string salesmanname, string usercode)//i am getting values in this 
  </code></pre>