title: How to add multiple data types to list
body: <p>I have my list as below,</p>
  
  <pre><code>var serie_line = new { name = series_name , data =new List&lt;float?&gt;() };
  </code></pre>
  
  <p>In the above code data in another list which contains float value, I want data to contains two different datatype value that is string and float value, when I am trying to add two different datatype values as follow,</p>
  
  <pre><code>var serie_line = new { name = series_name , data =new List&lt;string, float?&gt;() };
  </code></pre>
  
  <p>It gives me an error as
   <code>Using the generic type'System.Collections.Generic.List&lt;T&gt;' requires 1 argument.</code></p>
  
  <p>I cannot try for <code>data=new List&lt;Tupple&lt;string,float&gt;&gt;();</code>..since I am using .NET 3.5...any idea..hw cn I deal with this problem..thank you,</p>
  
  <p>----------Updated question---------</p>
  
  <p>Output that I requires is as follows,</p>
  
  <pre><code> {
   "legend":{"enabled":"true"},
   "title":{"text":"Financial"},
   "chart":{"type":"pie"},
   "series":
    [
      {"name":"Actual-","data":[["Market Share",20.00],["Sales Growth",30.00],["Operating Profit",40.00],["Actual-Gross Margin %",10.00]]}
    ]
    },
  </code></pre>
  
  <p>this data list should contains one string value and one float value...I want to draw pie chart in highcharts but output I am getting is as follows,</p>
  
  <pre><code>{
  "legend":{"enabled":"true"},
  "title":{"text":"Financial"},
  "chart":{"type":"column"},
  "series":[{"name":"Actual","data":[{"Str":"Market Share","Flo":20.00}]},
            {"name":"Actual","data":[{"Str":"Sales Growth","Flo":30.00}]},
            {"name":"Actual","data":[{"Str":"Operating Profit","Flo":40.00}]},
            {"name":"Actual","data":[{"Str":"Gross Margin %","Flo":10.00}]}
           ]
  }
  </code></pre>
  
  <p>Any Idea...???</p>
  
  <p>----------Use of Dictionary----------</p>
  
  <pre><code>var data = new Dictionary&lt;string, float?&gt;();
  var serie_line = new { name = series_name, data };
  serie_line.data.Add(child_object_name, period_final_value);
  </code></pre>
  
  <p>but this doesnot give required output...
  it only gives values inside data as for eg,
       "data":["market share":20.00].. since I am serializing serie_line into JSON...but I don't want this way..what I want is "data":["market share",20.00]</p>
  
  <p>I hope u get this...</p>