All I'm trying to accomplish here is to calculate the progress of my algorithm which iterates through a linked list, however when I try to divide the number of iterations by the total of elements in the linked list I alway get 0, the code is this:
double progress = iteratorCount/crawlerTechnologiesLinkedList.Count;
Console.WriteLine("Progress:" + progress * 100);
and the debug session shows these values
I've been trying to figure out why progress equals 0.0 but to no avail. Any help will be appreciated.