title: Can I pass array using WCF DataMember
body: <p>Assume my WCF interface declared like that:</p>
  
  <pre><code>[ServiceContract]
  public interface IManagementConsole
  {
      [OperationContract]
      ConsoleData GetData(int strategyId);
  
  [DataContract]
  public class ConsoleData
  {
      .....
      [DataMember]
      public int[] GetConnectionsStats { get; set; }
  }
  </code></pre>
  
  <p>In my program I just assign value:</p>
  
  <pre><code>....
  ConsoleData data = new ConsoleData();
  ....
  data.GetConnectionsStats = Program.GetConnectionsStats();
  </code></pre>
  
  <p>The question is - will that work? Array is actually a pointer? I guess probably pointer will be passed over WCF instead of passing array data?</p>