 This is Brian and if you're following along this is our 11th visual basic tutorial. Today we're going to finish our tutorials on loops and this is actually going to be a bit of a review. So just type dim xs int and you might have noticed there's int 16, int 32, and int 64. What are these? Well that's 16 bit, 32 bit, and 64 bit. Really general practice unless you're doing a specialized programming just stick with integer for now. We may or may not cover those in other tutorials but really it goes in line with your processor and what you can handle. Okay so now we've got dim xs integer and type while x less than 10 and there's in while. Well this looks awfully familiar. This looks like our do loops if you remember those and to be honest it does the exact same thing. So let's just do x plus equal 1 console dot right line and we'll say x run your work. Let's see what happens here and sure enough it does the exact same thing 1 through 10. Why do we need all these loops? Well really you have to remember that visual basic has been around for a long time. I personally remember programming in visual basic 2. I remember when visual basic wasn't even called visual basic and it's progressed through the years. It went up visual basic 1 2 3 4 5 and then version 6 and then it changed to the dot net framework which is what you're using now. And more to the point you're using I think we're using in this tutorial version 3 5 or 4 of the dot net framework. That being said it's grown through the years and as it's grown it's added more functionality. Now all these loops really do the same thing but it goes along with best practices and it's personal taste and style. So use the one you feel comfortable with yes I'm sure I'll get some fan mail saying wait a minute Brian you can only use this loop in this situation etc. Yes there are specific situations where you have to use a specific type of loop. We won't be covering that in this tutorial or any other because they're very rare cases and in my own personal experience pretty much they all do the same thing. Alright well I thank you for watching I hope you found this educational and entertaining and stay tuned.