I have such method which accept jagged array of Objects.
public void MyDataBind(object[][] data)
I use it like this
GoogleChart1.MyDataBind(new[] { new object[] { "September 1", 1 }, new object[] { "September 2", 10 } });
The question would be how to pass/cast predefined array values to this method? Let's say I have two arrays below and want to pass them to the method.
var sDate = new string[] {"September 1", "September 2"};
var iCount = new int[] { 1, 2 };