 Hey everybody, this is Brian. This is visual basic tutorial number 16 if you've been watching Today, we're going to talk about the Q. Q is another collection class. So let's say dim line as Q and let's actually do the generic version Q of T. So let's say of string and then once again new Q Of string. Now, what are we doing here? Well, the Q class is a first in first out Think of it as a line like a line at a bank. The first person in the line is the first person out So let's say line And we have to do things a little differently here. We have to Enqueue them or add them. So we will add Say Bob Let's stick with Bob, Mary and Chad Now, this is the line and this is the order there in Bob, Mary and Chad When you want to get people from this line You'd say console dot right line Line dot TQ Now what that will do is that we'll get The person who's next in line in this case Bob and also remove him from that list. So he's no longer in line Let's just run this and see what happens Now you see it returns Bob. Bob is no longer in that list and to prove that let's actually say We're going to write the number of items in here So console right line and we're going to say line count So we're going to print The count We're going to dequeue Bob and then print the count again. Let's actually just throw Count equals that way we can see what's going on here run it again You see that there are three people in line. We grab Bob and then there's only two people in line So that's how a queue works You can always reference the count to determine how many people you have left in there So that's a queue. That's a first in first out Hope you found this video educational and entertaining and thank you for watching