Print("Number of bars is : " + BarsArray[0].Count.ToString());
Print("Number of time elements is : " + Times[0].Count.ToString());
try{
Print("The first bar on the chart is: " + Times[0][Times[0].Count-1].ToString());
}
catch(Exception ex)
{
Print("Error: " + ex.Message);
}
Sample output is:
Number of bars is : 14479
Number of time elements is : 14479
Error: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Comment