title: How do you send complex objects using WCF? Does it work? Is it good?
body: <p>Can I have a data contract of this shape??</p>
  
  <pre><code>[DataContract]
  
  public class YearlyStatistic{
  
  [DataMember]
  public string Year{get;set;}
  
  [DataMember]
  public string StatisticName {get;set;}
  
  [DataMember]
  public List&lt;MonthlyStatistic&gt; MonthlyStats {get;set}
  };
  </code></pre>
  
  <p>I am assuming here that class MonthlyStatistic will also need to be a DataContract. Can you do this in a web service? </p>