Queue, can they have a negative count?

So, i'm making a mutlithreaded application that utilizes a queue. After having more than one thread dequeueing from the queue the count started to be negative, and then the longer I let it run the lower the count would get. How is this even possible, and what am I doing wrong?

by Zarickan via /r/csharp

Leave a Reply