title: c# Set model for array of string
body: <p>I've created the following model</p>
  
  <pre><code>public class ListLavorationCodeClient
  {
      public string LavorationsCode { get; set; }
  }
  </code></pre>
  
  <p>In my code I've written:</p>
  
  <pre><code>var listLavorationsCode = new ListLavorationCodeClient()
  {
      LavorationsCode =  codiceLavorazioneXx 
  };
  </code></pre>
  
  <p>and the result is the following:</p>
  
  <pre><code>{
      "LavorationsCode": "30410040136042700157"
  }
  {
      "LavorationsCode": "30440040136042700157"
  }
  </code></pre>
  
  <p>Instead I want a result like this:</p>
  
  <pre><code>{
     "LavorationCode": { "30410040136042700157", "30440040136042700157" }
  }
  </code></pre>
  
  <p>How can I fix?</p>