G
Guest
Hello,
I´m getting the above error with following lines of code:
SortedList<int, int> preparedConcepts = prepareConcepts(docs);
IList<int> preparedKeys = preparedConcepts.Keys;
foreach (int key in preparedKeys)
{
int count = prepareConcepts[key];
if (minThreshold_ > count || maxThreshold_ < count)
uselessConcepts_.Add(key);
}
but I cannot really find the error in my code.
It must be in line:
prepareConcepts[key];
In other ways it is possible to work with an index of int in a
SortedList. Why I´m getting this error here?
Regards,
Martin
I´m getting the above error with following lines of code:
SortedList<int, int> preparedConcepts = prepareConcepts(docs);
IList<int> preparedKeys = preparedConcepts.Keys;
foreach (int key in preparedKeys)
{
int count = prepareConcepts[key];
if (minThreshold_ > count || maxThreshold_ < count)
uselessConcepts_.Add(key);
}
but I cannot really find the error in my code.
It must be in line:
prepareConcepts[key];
In other ways it is possible to work with an index of int in a
SortedList. Why I´m getting this error here?
Regards,
Martin