Zexor
Well-known member
- Joined
- Nov 28, 2008
- Messages
- 520
- Programming Experience
- 3-5
I know i can use .Contain to search a queue for a string. But how do you search a queue with a 2d array? I dont need to use a loop, do i?
VB.NET:
Dim a As New Queue(Of String)(10)
Dim b As New Queue(Of String())(10)
a.Enqueue("aa")
b.Enqueue({"aa","bb"})
if a.Contains("aa") then
end if