title: wcf passing list as method parameter
body: <p>I have a wcf service which has a method as follow:</p>
  
  <pre><code> public void SyncClient(List&lt;Client&gt; client)
          {
           }
  </code></pre>
  
  <p>then i call this in a lib solution which has reference to this service as follow:</p>
  
  <pre><code>WCF.SyncClient wcfSer = new WCF.SyncClient();
   List&lt;Client&gt; clientModified = secondservice.Get_Clients(ModifiedDate, modifiedUnt).ToList();
  wcfSer.SyncClient(clientModified);
  </code></pre>
  
  <p>but I keep on getting the following error :</p>
  
  <pre><code>The best overloaded method match for 'SyncClient(SyncLib.ClientWCF.Client[])' has some invalid arguments    
  cannot convert from 'System.Collections.Generic.List&lt;SyncLib.Client&gt;' to 'SyncLib.WCF.Client[]'
  </code></pre>
  
  <p>The only thing I am doing is getting the list populated with another web service.</p>
  
  <p>what is the problem here as the argument that I am passing is list and the method accepts list, can some one please point me to right direction.</p>