public List<Transfer> Queue
{
get { return _queue; }
set { _queue = value; }
}
TransferFromQueue()
{
}
My turn is a variable in which elements will be added and deleted all the time.
I am looking for a way to execute TransferFromQueue () whenever there are items in the list. Although it should never run more than one TransferFromQueue () value.
How can I loop this queue in turn when there are elements in the queue?
user1071461
source
share