title: C# json object for dynamic properties
body: <p>I need to output this json:</p>
  
  <pre><code>{
        white: [0, 60],
        green: [60, 1800],
        yellow: [1800, 3000],
        red: [3000, 0]
  }
  </code></pre>
  
  <p>And I was trying to think on a model like:</p>
  
  <pre><code> public class Colors
      {
  
          public int[] white { get; set; }
  
          public int[] green { get; set; }
  
          public int[] yellow { get; set; }
  
          public int[] red { get; set; }
      }
  </code></pre>
  
  <p>But the property names could change, like maybe white can be now gray, etc.</p>
  
  <p>Any clue?</p>