I have written some code to use a queue, but have yet to try it out properly.
Your post triggered me to run it up.
I am using a Netduino plus v1 with .netmf v4.2.
I put a break point on the line:messageQueue = new Queue();
Before the line executes, I confirmed that the messageQueue variable appears as "null" when the mouse hovers over it.
After stepping over the line, the variable appears as "Count = 0" instead, and I can click a "+" to see more internal data.
The queue is a private member of a class that is created by the main program.
It is new'd when the class constructor runs.
What hardware and framework combination do you have?
Hope this is of some help - Paul
I have a Netduino Plus v1 with .NET MF v4.2
I found out that its actually putting the Queue in there, but apparently some of the functions are timing out during debug... Very weird.