I am trying to display the values from a dictionary function but it does not display the value, what it shows is below -
1007 System.Collections.Generic.List`1[System.Int32[]]
1006 System.Collections.Generic.List`1[System.Int32[]]
1009 System.Collections.Generic.List`1[System.Int32[]]
1008 System.Collections.Generic.List`1[System.Int32[]]
the code I am using is shown below
clsCollaborativeFilter mri = new clsCollaborativeFilter();
Dictionary<int, List<int[]>> movRecommendations = mri.aList1();
foreach (KeyValuePair<int, List<int[]>> kvp in movRecommendations)
{
da.Text += kvp.Key;
da.Text += " ";
da.Text += kvp.Value;
da.Text += "<br/>";
}
return da.Text;
I cant seem to understand why this is happening