title: Service Reference is using Arrays instead of List<Type>, even when settings say to use List
body: <p>I'm using Visual Studio 2010, and I've got a service reference to a web service we created.  Our methods return objects that contain generic List properties:</p>
  
  <pre><code>public class ExampleResponse
  {
    private System.Collections.Generic.List&lt;int&gt; intValues;
  
    [WCF::MessageBodyMember(Name = "IntValues")]
    public System.Collections.Generic.List&lt;int&gt; IntValues    
    {
      get { return intValues; }
      set { intValues= value; }
    }
  }
  </code></pre>
  
  <p>On the client-side, it creates a References.cs file with int[] instead of List:</p>
  
  <pre><code>[System.ServiceModel.MessageBodyMemberAttribute(Namespace="SomeNamespace", Order=0)]
  [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true)]
  [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays", IsNullable=false)]
  public int[] IntValues;
  </code></pre>
  
  <p>On the service reference settings the Collection Type is set to use List, not Arrays.  Yet, it's still doing so.</p>
  
  <p>Any info on how to solve this would be extremely helpful, it seems to make no sense.</p>