title: ServiceStack: IReturn<T> with array type
body: <p>I'm using Servicestack in one of my projects and curios about is it possible to specify the array type in the IReturn interface in DTO objects.</p>
  
  <p>For example:</p>
  
  <pre><code>public sealed class Search : IReturn&lt;Offer[]&gt; { }
  </code></pre>
  
  <p>But if I use this class as DTO it always fails with a serialization error System.ArgumentException: Value was invalid.</p>
  
  <p>Some additional info from the call stack:
  System.Runtime.Serialization.FormatterServices.nativeGetUninitializedObject(RuntimeType type) 
  System.Runtime.Serialization.FormatterServices.GetUninitializedObject(Type type)</p>
  
  <p>I could use the list class but prefer to use non mutable type like the array type.</p>