S
sasha
Basically, I am iterating over KeyValue pair of Dictionary. I need
to call some function when there is no next element in the dictionary:
something like this:
foreach (KeyValuePair<int, Object> kvp in MyDictionary)
{
//....do something
if(There is no next element)
call some function
}
I don't want to directly use the iterators, how would suggest to
approach this problem?
Thanks
to call some function when there is no next element in the dictionary:
something like this:
foreach (KeyValuePair<int, Object> kvp in MyDictionary)
{
//....do something
if(There is no next element)
call some function
}
I don't want to directly use the iterators, how would suggest to
approach this problem?
Thanks