Tazsweet19 0 Newbie Poster

I try to make to set up

public Datas getData()
{
   Node node;
   if (Process.TryDequeue(out node))
     return node.getdata();
   else if (downloads.tryDequeue(out node))
     return node.getdata();
   else
     return null;
}

public void GetNextItemToADD()
{
  ConcurrentQueue<Node>.GetNextItemToProcess();
}

I think I am wrong.. I try to find example for GetNextItem. I want to know. Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.