Click here to Skip to main content
16,012,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.
Quick question. Is it posible to put an Array in an Array like this.
Queue q<byte[]> = new Queue<byte[]>();
What I understand, Queue is an Array in its foundation, that take an Object.
Cant find a definitive explanation anywhere, and getting strange results.
Best to you all.
Posted
Updated 16-Dec-10 22:36pm
v2

Yes, you can do that, but it's the other way around - you are creating a Queue of byte arrays.

Queue<byte[]> q = new Queue<byte[]>();
 
Share this answer
 
Sorry. Of course it is.:suss: Then I have to seek it som where else in the program.
Thanks.
 
Share this answer
 
Comments
JF2015 17-Dec-10 4:54am    
Don't post this as answer. Use the "Add Comment" function instead.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900